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
Ask a simple question like "What is 2+2?".
The chatbot asks to approve before using calculator tool, but still shows the answer to the user.
If yes is selected: Error buildAgentGraph - No tasks to run in graph.
If no is selected: Error buildAgentGraph - Error: 400 Invalid parameter: messages with role 'tool' must be a response to a preceeding message with 'tool_calls'.
Expected behavior
If yes is selected, the chatbot should use the tool to retrieve the correct answer to the user (in this case it is 4).
If no is selected, the chatbot should ask the user to clarify the question or exit the sequence.
Screenshots
Setup
Installation: Install flowise using docker
Flowise Version 2.2.5
OS: Windows 10
Browser: Chrome
The text was updated successfully, but these errors were encountered:
amj18
changed the title
[BUG]
[BUG] Requires Approval always throws error when enabled in Tool or Agent nodes
Feb 17, 2025
Describe the bug
Requires Approval option in a Tool Node (or Agent node) always throws an error.
To Reproduce
Load/Import the attached Agent flow:
Requires Approval Bug Agents.json
Ask a simple question like "What is 2+2?".
The chatbot asks to approve before using calculator tool, but still shows the answer to the user.
If yes is selected:
Error buildAgentGraph - No tasks to run in graph.
If no is selected:
Error buildAgentGraph - Error: 400 Invalid parameter: messages with role 'tool' must be a response to a preceeding message with 'tool_calls'.
Expected behavior
If yes is selected, the chatbot should use the tool to retrieve the correct answer to the user (in this case it is 4).
If no is selected, the chatbot should ask the user to clarify the question or exit the sequence.
Screenshots
Setup
Installation: Install flowise using docker
Flowise Version 2.2.5
OS: Windows 10
Browser: Chrome
The text was updated successfully, but these errors were encountered: