Skip to content

gracefully handle SSE parse errors and suppress raw parser code - #367

Merged
tibo-openai merged 8 commits into
openai:mainfrom
Suyash-K:fix/suppress-sse-parse-error
Apr 19, 2025
Merged

tibo-openai merged 8 commits into
openai:mainfrom
Suyash-K:fix/suppress-sse-parse-error

Conversation

@Suyash-K

@Suyash-K Suyash-K commented Apr 18, 2025 •

Copy link
Copy Markdown
Contributor

Closes #187
Closes #358

@github-actions

github-actions Bot commented Apr 18, 2025 •

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@Suyash-K

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Apr 18, 2025
@Suyash-K

Suyash-K commented Apr 18, 2025 •

Copy link
Copy Markdown
Contributor Author

Summary

This PR removes the low-level SSE parser bundle that was causing confusion and maintenance overhead, as noted in #358 and #187. The change prevents malformed JSON parsing issues.

After Fix (Locally Run)

Screenshot 2025-04-19 035249

Before Fix

Screenshot 2025-04-19 013205

@tibo-openai

tibo-openai commented Apr 18, 2025 •

Copy link
Copy Markdown
Collaborator

ty! Would merge, but ci is failing, could you have a look at this @Suyash-K ?

@Suyash-K

Copy link
Copy Markdown
Contributor Author

ty! Would merge, but ci is failing, could you have a look at this @Suyash-K ?

It was failing formatting tests 'cause of Prettier style violations can you check this commit commit 5874abf and see if it works @tibo-openai ?

@tibo-openai

Copy link
Copy Markdown
Collaborator

merging, ty!

@tibo-openai
tibo-openai merged commit b37b257 into openai:main Apr 19, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(cli): hide internal SSE parser stack trace on parse errors something about having an insuficient quota

2 participants