-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Enable parallel tool calls by default #11031
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
PR Review SummaryReview Status: ✅ APPROVED This PR removes the Key Changes Verified
Issues FoundNone - This is a clean, well-structured PR. Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
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.
Thoroughly reviewed all changes. The PR cleanly removes the multipleNativeToolCalls experiment and enables parallel tool calls by default across all 13+ API providers. All tests pass. Well-structured implementation with complete cleanup of i18n files and experiment-related code.
- Remove multipleNativeToolCalls experiment - Set parallelToolCalls default to true across all providers - Remove didAlreadyUseTool enforcement in presentAssistantMessage - Update convertOpenAIToolChoiceToAnthropic to enable parallel by default - Update all tests to expect parallel tool calling - Remove MULTIPLE_NATIVE_TOOL_CALLS from i18n locale files
291e195 to
6964f62
Compare
| tools: this.convertToolsForOpenAI(metadata?.tools), | ||
| tool_choice: metadata?.tool_choice, | ||
| parallel_tool_calls: metadata?.parallelToolCalls ?? false, | ||
| parallel_tool_calls: metadata?.parallelToolCalls ?? true, |
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.
Do we still need these metadata things? Seems like we're removing all of the logic for false anyway?
This PR removes the multipleNativeToolCalls experiment and enables parallel tool calling by default across the entire codebase.
Changes
Core Updates
API Provider Updates (13 providers)
Updated all providers to default parallelToolCalls to true:
Test Updates
Cleanup
Impact