You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this graph, when sending a prompt like "My name is John," it will send you to the update_profile node, which uses Trustcall to update a JSON payload in its memory to store some information about the user. Trustcall runs a Tool called PatchDoc, but the update_profile also runs a Profile Tool.
Doing so raises this error:
Error: Tool call name call_NAnT466ldLHgmgBdeA3xoS6E Profile does not match existing tool call PatchDoc
The issue seems to be within the joinExternalMessages function on the file runtimes/external-store/external-message-converter.tsx that does not expect to receive messages from 2 different tools before one is completed.
The text was updated successfully, but these errors were encountered:
I am running into an issue with parallel executions of tools within LangGraph.
You can easily reproduce the issue by running the following graph:
https://github.com/langchain-ai/langchain-academy/tree/main/module-6/deployment
Using this graph, when sending a prompt like "My name is John," it will send you to the
update_profile
node, which uses Trustcall to update a JSON payload in its memory to store some information about the user. Trustcall runs a Tool calledPatchDoc
, but theupdate_profile
also runs aProfile
Tool.Doing so raises this error:
The issue seems to be within the
joinExternalMessages
function on the fileruntimes/external-store/external-message-converter.tsx
that does not expect to receive messages from 2 different tools before one is completed.The text was updated successfully, but these errors were encountered: