Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/Empty ChatHistory #1316

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Bugfix/Empty ChatHistory #1316

merged 1 commit into from
Nov 30, 2023

Conversation

HenryHengZJ
Copy link
Contributor

@HenryHengZJ HenryHengZJ commented Nov 30, 2023

Bug: When specifying prompt variable using chatHistory:
image
image

It is empty when:

  • used together with Memory nodes with SessionId
  • called via API

Reason being there is no incomingInput.history passed from the API body request.

Fix: retrieve chat history automatically when detected incomingInput.history is empty.

image

@HenryHengZJ HenryHengZJ merged commit b7006d8 into main Nov 30, 2023
2 checks passed
hemati pushed a commit to hemati/Flowise that referenced this pull request Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant