Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

[BUG] More than one GET tool causes a usage error

Open PPTG opened this issue 1 year ago • 2 comments

Describe the bug: I am building an assistant to read data from the automation system in my case it is HomeAssistant, I noticed that when I add more than one GET tool (I use get to retrieve data from the sensor ) the agent calls get tool but because they have the same name (RequestsGetTool) it ignores the description of the tool and calls the first one that was added.

Steps to reproduce the behavior: Add more than one tool get try in chat call both in turn

Expected behavior: The agent calls the tool as described

Screenshots: Image

Test1: Get Temperature Sensor Test2: Get PV parameter ( pv-power output) Image

When I remove the second GET everything works fine, stops when there are more tools get

Setup: -Debian 12 with docker -Flowise -llamacpp

Additional context: I use the Polish Bielik v2.3 as the LLM model

PPTG avatar Apr 06 '25 13:04 PPTG

I'd suggest creating a custom tool for each request

HenryHengZJ avatar Apr 07 '25 08:04 HenryHengZJ

Thanks for the hint, this is quite interesting behavior because if I change the second tool from GET to POST (That is, I have one POST and one GET) everything works fine.

PPTG avatar Apr 07 '25 17:04 PPTG