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
Describe the bug
In an Agent Flow if a tool node is given more than 2 tools and the agent tries to use a tool for consecutive times, it result in an error using the same tool many times: "Error: Error: 400 An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. The following tool_call_ids did not have response messages: call_UzOyM20UXD9jSKzzZ2gFk3mU"
To Reproduce
Steps to reproduce the behavior:
Create An Agent Sequencial Flow.
Give at least 3 tools to an agent with the toolnode.
Save and start the conversation asking questions which will make the agent use 1 tool many times or switch between using the tools many times.
Expected behavior
Agent should be able to use tools freely no many how many times without breaking the chatflow
The tool call happends and you see the tool output in the chat on the canvas then the error follows. I think the toolNode is generating the error since the error happends after updating the state with the result from the tool
Describe the bug
In an Agent Flow if a tool node is given more than 2 tools and the agent tries to use a tool for consecutive times, it result in an error using the same tool many times: "Error: Error: 400 An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. The following tool_call_ids did not have response messages: call_UzOyM20UXD9jSKzzZ2gFk3mU"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Agent should be able to use tools freely no many how many times without breaking the chatflow
Screenshots
Flow
CHAT_BUDDY_PROTOTYPE_Agents.json
Setup
The text was updated successfully, but these errors were encountered: