Skip to content

Fix streaming #318

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

Conversation

nezhyborets
Copy link
Collaborator

What

Fix streaming

Why

There were multiple issues with the latest changes to streaming and parsing. Besides the obvious bugs, there've been unhandled SSE parsing case where a provider would return \r\n\r\n combination of chars

Affected Areas

StreamingSession, SSE Parser

@nezhyborets nezhyborets linked an issue Apr 14, 2025 that may be closed by this pull request
@nezhyborets nezhyborets merged commit 7eef412 into main Apr 14, 2025
5 checks passed
@nezhyborets nezhyborets deleted the 317-perplexity-fails-decoding-starting-with-040-version branch April 14, 2025 09:14
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.

Perplexity fails decoding starting with 0.4.0 version
2 participants