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

Fix the issue #124 #290

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Fix the issue #124 #290

merged 1 commit into from
Nov 5, 2024

Conversation

junyanxu
Copy link
Collaborator

@junyanxu junyanxu commented Nov 4, 2024

When chat is blocked by citation error, the content will be empty. However the empty content will be added to the chat history. This will cause the chat error when the chat session try to send a new message. Because the backend will always complain model content has empty parts.

@junyanxu junyanxu merged commit 6ec2c27 into main Nov 5, 2024
5 of 9 checks passed
@junyanxu junyanxu deleted the improve_chat_error_handling branch November 5, 2024 21:39
@junyanxu junyanxu restored the improve_chat_error_handling branch November 5, 2024 21:47
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.

2 participants