We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
openrouter
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
Below is a part of the original body returned by openrouter.
: OPENROUTER PROCESSING : OPENROUTER PROCESSING data: {"id":"gen-1739458867-kUKFjpDGCEBBvK6V46PX","provider":"OpenAI","model":"openai/gpt-4o-mini","object":"chat.completion.chunk","created":1739458867,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_72ed7ab54c"} data: {"id":"gen-1739458867-kUKFjpDGCEBBvK6V46PX","provider":"OpenAI","model":"openai/gpt-4o-mini","object":"chat.completion.chunk","created":1739458867,"choices":[{"index":0,"delta":{"role":"assistant","content":"亚"},"finish_reason":null,"native_finish_reason":null,"logprobs":null}],"system_fingerprint":"fp_72ed7ab54c"}
The text was updated successfully, but these errors were encountered:
Sorry what do you mean?
Sorry, something went wrong.
openai-go doesn't correctly parse SSE comment line with 2 newlines:
openai-go
openai-go/packages/ssestream/ssestream.go
Lines 87 to 90 in 7ad3660
When the above code continues, the lines below fire an event with empty data, which eventually causes gson parsing to fail.
Lines 67 to 77 in 7ad3660
I've tried a quick fix, and it works for me.
openaphid@96b701b
No branches or pull requests
Below is a part of the original body returned by
openrouter
.The text was updated successfully, but these errors were encountered: