Skip to content

Bug: Fix error parsing in StreamInterpreter #266

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

Try parsing APIError on the whole response instead of later on divided pieces

Why

To fix the issue

Affected Areas

StreamInterpreter. Also, while debugging, I added an ability to demo to specify non-streaming way of completing conversations. Didn't add a UI to control that though. Added a task for that #265

@nezhyborets nezhyborets linked an issue Feb 17, 2025 that may be closed by this pull request
@nezhyborets
Copy link
Collaborator Author

nezhyborets commented Feb 17, 2025

@SplittyDev @sakeven for some reason I can't add you as reviewers

Copy link

@nezhyborets nezhyborets merged commit 190c355 into main Feb 17, 2025
5 checks passed
@nezhyborets nezhyborets deleted the bug/261-streaming-does-not-honor-http-status-codes branch February 17, 2025 19:31
wangqi pushed a commit to wangqi/OpenAI that referenced this pull request Feb 18, 2025
…honor-http-status-codes

Bug: Fix error parsing in StreamInterpreter
wangqi pushed a commit to wangqi/OpenAI that referenced this pull request Feb 18, 2025
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.

Streaming does not honor http status codes
2 participants