Skip to content

ChatAnthropic does not work #5998

@tiago1397

Description

@tiago1397

Describe the bug

ChatAnthropic for AgentFlows v1 is not working on latest version. It returns the following error:
Error buildAgentGraph - Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"top_p cannot be set to -1 for this model."},"request_id":"req_011CZ97oBy7vML5H7qRRw5nM"}

To Reproduce

  1. Create new AgentFlows v1
  2. Add ChatAnthropic
  3. Add base nodes to chat with anthropic model
  4. Test send a message

Issue:
Error buildAgentGraph - Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"top_p cannot be set to -1 for this model."},"request_id":"req_011CZ97oBy7vML5H7qRRw5nM"}

Expected behavior

It should be possible to use ChatAnthropic

Screenshots

Image

Flow

No response

Use Method

None

Flowise Version

No response

Operating System

None

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