-
Notifications
You must be signed in to change notification settings - Fork 444
Rewrite the parser by more closely following spec #316
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
Rewrite the parser by more closely following spec #316
Conversation
|
@JackuXL could you try to switch package to this branch to see if it works for you? 315-streaming-session-is-ended-before-any-output |
I have tried, but it still does not work. The output is the same as before. |
Omg, crazy. Thanks for trying. Will try to find how to configure Volcano on my side to reproduce |
It could be very helpful if you'd put a breakpoint in StreamingSession and print the raw response data. It returns data so you'd have to print |
Is it the first and the only response in streaming session? If so, then there would basically be nothing to parse. I am not sure why a platform would respond in such a manner 🤔 interesting |
Can you print the query? UPD: sorry you've already printed it, no need |
The platform enables developers to bring websearch to any LLM, and use it through standard OpenAI API. Later I would try to stream using official OpenAI Python SDK and see if it could work. |
It would be great, thanks! |
It seems that the latest version works, and the previous error is due to volcengine itself. Thanks! |
Yay! Thanks for checking! |
Hi @JackuXL, it turned out that there had been multiple issues with the new parser. I've release the fixes in 0.4.1. So maybe it will work better for you too |
Ok, thanks for the reminder! |
What
Rewrite Server Sent Events parser
Why
Our parser doesn't follow the spec closely which may lead to bugs like in the connected issue
Affected Areas
Streaming Interpreter