Checked other resources
Feature Description
Feature Request: Support sequential state propagation for batch tool calls
Current behavior: When an LLM returns multiple tool calls at once, all tools execute based on the same initial state snapshot.
Use Case
When tools have dependencies on each other, subsequent tools need access to the state updates made by previous tools.
When developing a multi-tool Agent, I found that if an LLM returns multiple ToolCalls at once, subsequent tools do not get the updated state of a previous tool, leading to unexpected computations. I do not want to force the LLM to call tools one by one, as this seems to slow down the response. I think synchronizing the state between multiple ToolCalls would be more intuitive, at least there should be a toggle switch provided in the interface.
Proposed Solution
Add a configuration option (e.g., sequential_tool_execution=True) that ensures the first tool's Command state updates take effect before the second tool executes.
Alternatives Considered
No response
Additional Context
No response
Checked other resources
Feature Description
Feature Request: Support sequential state propagation for batch tool calls
Current behavior: When an LLM returns multiple tool calls at once, all tools execute based on the same initial state snapshot.
Use Case
When tools have dependencies on each other, subsequent tools need access to the state updates made by previous tools.
When developing a multi-tool Agent, I found that if an LLM returns multiple ToolCalls at once, subsequent tools do not get the updated state of a previous tool, leading to unexpected computations. I do not want to force the LLM to call tools one by one, as this seems to slow down the response. I think synchronizing the state between multiple ToolCalls would be more intuitive, at least there should be a toggle switch provided in the interface.
Proposed Solution
Add a configuration option (e.g., sequential_tool_execution=True) that ensures the first tool's Command state updates take effect before the second tool executes.
Alternatives Considered
No response
Additional Context
No response