-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Adding response_id in Streaming Response #3842
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the final PR Bugbot will review for you during this billing cycle
Your free Bugbot reviews will reset on November 28
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
Vidit-Ostwal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding documentation for easy references.
|
Fixes #3845 |
|
Requesting this one for a review @lucasgomide |
|
Just a gentle ping on this one @greysonlalonde, |
|
Hey @Vidit-Ostwal thanks for this! Will get it in soon, we're on holiday right now |
Yup no worries.. |
More context here
Fixes #3845
#3739 (comment)
Note
Add response_id to LLMStreamChunkEvent and plumb it through streaming flows (LiteLLM and native providers) with updated tests.
response_idtoLLMStreamChunkEventinevents/types/llm_events.py.idasresponse_idand include inLLMStreamChunkEventemissions.response_idinto_handle_streaming_tool_callsand related emissions inllm.py._emit_stream_chunk_eventto accept and emitresponse_id.event.message.idand emit with chunks.update.idin chunk events.contentBlockIndexasresponse_idfor deltas.chunk.response_idin chunk events.chunk.idduring streaming (including structured streaming path).response_idin Azure, OpenAI, and event utility tests.Written by Cursor Bugbot for commit 51b78f3. This will update automatically on new commits. Configure here.