feat: opt-in parallel tool execution (parallelToolCalls) #2

Merged
bjoern merged 1 commit from feat/parallel-tool-calls into master 2026-07-02 23:54:04 +02:00
Owner

AgentOptions.parallelToolCalls (also exposed on createAgent) runs all
tool calls of a round concurrently via Future.wait. Execution is
extracted into a per-call helper that touches no shared agent state;
results are post-processed in the original tool-call order, so the
conversation payload is identical to sequential mode. In blind mode the
imageDescriber is pre-warmed concurrently for all tool-result images of
the round. Defaults to false — existing behavior unchanged.

AgentOptions.parallelToolCalls (also exposed on createAgent) runs all tool calls of a round concurrently via Future.wait. Execution is extracted into a per-call helper that touches no shared agent state; results are post-processed in the original tool-call order, so the conversation payload is identical to sequential mode. In blind mode the imageDescriber is pre-warmed concurrently for all tool-result images of the round. Defaults to false — existing behavior unchanged.
AgentOptions.parallelToolCalls (also exposed on createAgent) runs all
tool calls of a round concurrently via Future.wait. Execution is
extracted into a per-call helper that touches no shared agent state;
results are post-processed in the original tool-call order, so the
conversation payload is identical to sequential mode. In blind mode the
imageDescriber is pre-warmed concurrently for all tool-result images of
the round. Defaults to false — existing behavior unchanged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
bjoern merged commit 27c9fef867 into master 2026-07-02 23:54:04 +02:00
bjoern deleted branch feat/parallel-tool-calls 2026-07-02 23:54:04 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
TeamAI/openrouter_dart!2
No description provided.