Describe the bug
When I tried to use Tavily API in Flowise App(Windows Desktop version), I got an error like below:
Error in Agent node: Tavily API key not found. Please provide it as an argument or set the TAVILY_API_KEY environment variable.
Then I ran the flowise on my local machine and setup TAVILY_API_KEY=XXXX in the .env file of server folder, I got another error:
Error in Agent node: message.content.map is not a function
I am unsure if this is a bug or I use it in the incorrect way.
To Reproduce
- Go to Agentflows menu, click "Add New"
- Clicke "+" on the top left conner, search "Agent",then drag it to the main area.
- Edit the agent node. After setting up the Model, click the "Add Tools" in the Tools section.
- In the Tool dropdown list, choose "Tavily API"
- Edit the Tavily API Parameters, including the "Credential Name" and "Tavily Api Key"
Expected behavior
There is no error and Tavily API can work as expected.
Screenshots
No response
Flow
No response
Use Method
Flowise Cloud
Flowise Version
3.1.2
Operating System
Windows
Browser
None
Additional context
No response
Describe the bug
When I tried to use Tavily API in Flowise App(Windows Desktop version), I got an error like below:
Error in Agent node: Tavily API key not found. Please provide it as an argument or set the TAVILY_API_KEY environment variable.
Then I ran the flowise on my local machine and setup TAVILY_API_KEY=XXXX in the .env file of server folder, I got another error:
Error in Agent node: message.content.map is not a function
I am unsure if this is a bug or I use it in the incorrect way.
To Reproduce
Expected behavior
There is no error and Tavily API can work as expected.
Screenshots
No response
Flow
No response
Use Method
Flowise Cloud
Flowise Version
3.1.2
Operating System
Windows
Browser
None
Additional context
No response