Skip to content

Tavily API does not work #6343

@guardiangel

Description

@guardiangel

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

Image Image

I am unsure if this is a bug or I use it in the incorrect way.

To Reproduce

  1. Go to Agentflows menu, click "Add New"
  2. Clicke "+" on the top left conner, search "Agent",then drag it to the main area.
  3. Edit the agent node. After setting up the Model, click the "Add Tools" in the Tools section.
  4. In the Tool dropdown list, choose "Tavily API"
  5. Edit the Tavily API Parameters, including the "Credential Name" and "Tavily Api Key"
Image Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions