FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow
https://flowiseai.com
Apache License 2.0
31.53k stars 16.43k forks source link

[FEATURE] Introduce "Tool Choice = required" in Tool Agent #3464

Open bufibufon opened 1 week ago

bufibufon commented 1 week ago

Describe the feature you'd like Introduce 'Tool Choice' to Tool Agent like in openAi assistant module, to force the Tool Agent to always use a tool.

Zrzut ekranu 2024-11-5 o 10 06 00

Additional context I have a Tool agent integrated with Slack, when agent sends multiple messages in thread, I can only capture the first one from flowise prediction API. I've created a cutom tool to send all messages through it, but the agent sometimes fails to use the tool and provides a reply as text response. Using "tool choice" = 'required' in OpenAI assistants forces the assistant to behave as expected, it would be great to have this option in Flowise Tool Agent.

vijaykammili commented 1 week ago

@HenryHengZJ - I'm facing this issue with Tool Agent. This would be a great addition. Thank you @bufibufon