feat: Parallel Function calling and concurrent tool execution#520
Merged
Henry-811 merged 7 commits intodev/v0.1.14from Nov 19, 2025
Merged
feat: Parallel Function calling and concurrent tool execution#520Henry-811 merged 7 commits intodev/v0.1.14from
Henry-811 merged 7 commits intodev/v0.1.14from
Conversation
Add the parallel_tool_calls parameter to the Responses API (default: true) and enable concurrent tool execution.
Add a new config file enabling concurrent tool execution and parallel tool calls
…calling modes add to Excluded Params
c919e50 to
b8fe8ea
Compare
update the base file
add concurrent tool execution support
Unified handling of custom and MCP tool calls with improved NLIP routing. Enabled the concurrent tool execution and sequential loops
Introduce a new documentation page explaining model-level tool calling and local parallel execution knobs
Collaborator
|
Can you check this works with #530? See https://ai.google.dev/gemini-api/docs/thought-signatures, they have a section on parallel tool calling. |
Collaborator
Author
|
Will look into it. |
qidanrui
approved these changes
Nov 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the parallel_tool_calls parameter to the backends and enable concurrent tool execution.
Closes MAS-80
PR Title Format
Your PR title must follow the format:
<type>: <brief description>Valid types:
fix:- Bug fixesfeat:- New featuresbreaking:- Breaking changesdocs:- Documentation updatesrefactor:- Code refactoringtest:- Test additions/modificationschore:- Maintenance tasksperf:- Performance improvementsstyle:- Code style changesci:- CI/CD configuration changesExamples:
fix: resolve memory leak in data processingfeat: add export to CSV functionalitybreaking: change API response formatdocs: update installation guideDescription
Brief description of the changes in this PR
Type of change
fix:) - Non-breaking change which fixes an issuefeat:) - Non-breaking change which adds functionalitybreaking:) - Fix or feature that would cause existing functionality to not work as expecteddocs:) - Documentation updatesrefactor:) - Code changes that neither fix a bug nor add a featuretest:) - Adding missing tests or correcting existing testschore:) - Maintenance tasks, dependency updates, etc.perf:) - Code changes that improve performancestyle:) - Changes that do not affect the meaning of the code (formatting, missing semi-colons, etc.)ci:) - Changes to CI/CD configuration files and scriptsChecklist
Pre-commit status
How to Test
Add test method for this PR.
Test CLI Command
Write down the test bash command. If there is pre-requests, please emphasize.
uv run python -m massgen.cli --config massgen/configs/tools/custom_tools/gpt5_nano_custom_tool_with_mcp_parallel.yaml "whats the sum of 123 and 456? and whats the weather of Tokyo and london?"Expected Results
Description/screenshots of expected results.
Additional context
Add any other context about the PR here.