-
Beta Was this translation helpful? Give feedback.
Answered by
vbarda
Aug 30, 2024
Replies: 1 comment 5 replies
-
can you share a langsmith trace? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@modestme the issue you're encountering is because you're trying to send all tool calls to both tool nodes, but they only know how to handle a single tool. as a result, each tool node returns one correct tool message (with result of add/multiply) and one tool message with error (as it doesn't support the other tool by definition). as a result of that, LLM gets confused as it tries to fix that error. here is how you can achieve the desired behavior: