Skip to content

Conversation

kazzix14
Copy link
Contributor

In the Responses API, event_source.next().await returns Err(Error::StreamEnded) when the stream ends. This PR makes us stop the stream as soon as that error appears. Without this, stream never ends without break on userside.

related to #405.

@64bit
Copy link
Owner

64bit commented Aug 16, 2025

There's work on streaming error in a different direction #413

@64bit 64bit closed this Aug 16, 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.

2 participants