-
Notifications
You must be signed in to change notification settings - Fork 5.7k
feat: add support for streaming tool call events #4068
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
Conversation
lucasgomide
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.
Can you add some tests?
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 PR is being reviewed by Cursor Bugbot
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.
Supports #3982
Note
Introduces provider-agnostic streaming tool-call events and instrumentation.
call_typeandtool_calldata to_emit_stream_chunk_eventinBaseLLMto distinguish text vs tool chunksLLMCallType.TOOL_CALLstream events with{id, function{name, arguments}, type, index}across providers:input_json_deltaargumentstoolUsestart/delta/stop, accumulates input, emits tool-call chunks; minor typing/message formatting cleanupsWritten by Cursor Bugbot for commit 9f7c853. This will update automatically on new commits. Configure here.