ValueError with tool_calls in LangGraph multi-agent example #4803
Unanswered
camillecochener
asked this question in
Q&A
Replies: 2 comments 1 reply
-
had a look at the handoff implementation in |
Beta Was this translation helpful? Give feedback.
1 reply
-
i noticed that when a tool was invoked multiple times simultaneously, it should be fine. But when multiple tools were invoked simultaneously, this error will be raised. The best solution is to use "parallel_tool_calls=False" that can prohibit the parallel invocation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi LangGraph team,
I'm encountering a
ValueError
when running the code from the official documentation.Here's the full error message:
I consulted the troubleshooting guide mentioned above, but I wasn’t able to resolve the issue.
I'm using the example provided in the documentation (the handoffs section of the multi-agent guide), without modification. I believe the code is supposed to manage these tool call/response pairs automatically, so I’m unsure what’s missing.
Could you please clarify:
Thanks in advance for your help and for this great library!
Version of LangGraph used: 0.4.5
Notebook code below:
Beta Was this translation helpful? Give feedback.
All reactions