Skip to content

Conversation

@neelvirdy
Copy link
Contributor

What

Return after decoding a ResponseStreamEvent successfully, instead of continuing to attempt other decoding strategies.

Why

Previously was seeing many decoding errors because the decoding logic would continue instead of returning.

Affected Areas

Responses API with Streaming

@neelvirdy neelvirdy changed the title fix: Return after decoding ResponseStreamEvent successfully Fix: Return after decoding ResponseStreamEvent successfully Sep 10, 2025
@neelvirdy
Copy link
Contributor Author

@nezhyborets could I get a review on this small PR please?

@nezhyborets
Copy link
Collaborator

@neelvirdy thanks for the PR, strange that PR didn't warn me that I initialized self more than once

@nezhyborets nezhyborets merged commit 3fcc656 into MacPaw:main Sep 25, 2025
3 checks passed
@neelvirdy neelvirdy deleted the nvirdy/return-decode branch September 29, 2025 01:41
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.

2 participants