Disable Parallel Tool Calling in react agent #1461
Replies: 3 comments
-
It would be nice to disable altogether, but perhaps a better solution would be to allow tools to be declared as sequential or parallel-able in nature. Something like: @sequential
@tool
def my_tool():
... When the model calls this tool, it cannot call other tools at the same time. |
Beta Was this translation helpful? Give feedback.
-
We don't have that ability yet, but will look into it |
Beta Was this translation helpful? Give feedback.
-
Hey @vbarda, I've raised a PR that adds a boolean in the prebuilt react-agent to disable parallel tool calls. If possible, can you take a look at this: #1720 Thanks! |
Beta Was this translation helpful? Give feedback.
-
Is there any option in the prebuilt react agent to disable parallel tool calling like is is mentioned here: https://python.langchain.com/v0.2/docs/how_to/tool_calling_parallel/?
Beta Was this translation helpful? Give feedback.
All reactions