Skip to content

fix(server) : handling DONE message in simple chat #10674

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

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

pminev
Copy link
Contributor

@pminev pminev commented Dec 5, 2024

When the sever is started and you try to use the simple chat on each end of the response there is [DONE] message. It's not handled and there is a js exception:

SyntaxError:Unexpected token 'D', " [DONE]  " is not valid JSON

@ngxson ngxson merged commit 7736837 into ggml-org:master Dec 5, 2024
6 checks passed
tinglou pushed a commit to tinglou/llama.cpp that referenced this pull request Dec 7, 2024
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants