Skip to content

Strip parallel_tool_calls from extra_kwargs when no tools provided#5028

Closed
ChadyMoukel wants to merge 1 commit intolivekit:mainfrom
ChadyMoukel:chady/strip-parallel-tools
Closed

Strip parallel_tool_calls from extra_kwargs when no tools provided#5028
ChadyMoukel wants to merge 1 commit intolivekit:mainfrom
ChadyMoukel:chady/strip-parallel-tools

Conversation

@ChadyMoukel
Copy link
Copy Markdown

Summary

When no tools are provided to the LLM stream, parallel_tool_calls is now stripped from extra_kwargs alongside the existing tool_choice removal. Sending parallel_tool_calls without any tools can cause API errors, so this ensures both tool-related parameters are cleaned up consistently.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 6, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

@ChadyMoukel
Copy link
Copy Markdown
Author

Up ?

@ChadyMoukel ChadyMoukel closed this Apr 7, 2026
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