Skip to content

handle data streaming for new responses API #807

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
merged 67 commits into from
Jul 16, 2025

Conversation

ASteinheiser
Copy link
Collaborator

@ASteinheiser ASteinheiser commented Jul 7, 2025

Jira: https://jira.mongodb.org/browse/EAI-1154

Changes

  • implement data streaming for responses api
  • matches openai spec for response data and errors

Notes

Copy link
Collaborator

@mongodben mongodben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

definitely looks directionally correct. left a few notes.

Copy link
Collaborator

@mongodben mongodben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

back 2 u. think getting very close. this looks great. very exciting. happy to chat further on any of the points in a call

@ASteinheiser ASteinheiser requested a review from mongodben July 15, 2025 08:01
Copy link
Collaborator

@mongodben mongodben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % few tiny nits and 1 request for tests. awesome work here! we're getting close.

with this, you've pretty much finished the hard part on the server, and now get to do the fun (and also probably somewhat hard) part integrating the AI

@ASteinheiser ASteinheiser merged commit b4abf6b into responses_api Jul 16, 2025
1 check failed
@ASteinheiser ASteinheiser deleted the responses-data-stream branch July 16, 2025 23:22
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