You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Can't get a simple flow with sequential agents to work when using ChatAnthropic.
It does work with ChatOpenai and ChatMistral.
But with ChatAnthropic (any model) the user message seems to be inserted incorrectly into the condition agent, and the agent afterwards fails with Error buildAgentGraph - Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages: at least one message is required"}}
To Reproduce
Connect a start node to a condition agent and then to an agent. All powered by ChatAnthropic
Describe the bug
Can't get a simple flow with sequential agents to work when using ChatAnthropic.
It does work with ChatOpenai and ChatMistral.
But with ChatAnthropic (any model) the user message seems to be inserted incorrectly into the
condition agent
, and theagent
afterwards fails withError buildAgentGraph - Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages: at least one message is required"}}
To Reproduce
Connect a start node to a condition agent and then to an agent. All powered by ChatAnthropic
Expected behavior
It runs successfully
Screenshots
Flow
Langsmith Traces:
Failed run with ChatAnthropic: https://eu.smith.langchain.com/public/4c001323-d1c2-461b-9a44-41d3fc2bebd5/r
Successful run with ChatOpenai: https://eu.smith.langchain.com/public/37096926-8a79-4d91-b345-81071ecab410/r
Additional context
Happens on both Flowise 2.1.3 and 2.1.5
The text was updated successfully, but these errors were encountered: