ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: Aws Claude - When message window size > 1 - Can't invoke 'anthropic.claude-v2:1'. Reason: An error occurred (ValidationException)

Open martinarisk opened this issue 10 months ago • 2 comments

Self Checks

  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (Language Policy).
  • [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • [x] Please do not modify this template :) and fill in all the required fields.

Describe your problem

Can't invoke 'anthropic.claude-v2:1'. Reason: An error occurred (ValidationException) when calling the Converse operation: A conversation must start with a user message. Try again with a conversation that starts with a user message.

Anyone faced this issue on AWS?

martinarisk avatar Mar 11 '25 10:03 martinarisk

When/where does that happen?

KevinHuSh avatar Mar 12 '25 03:03 KevinHuSh

Hello, in Agent section, we have an Agent who uses Generate steps. When we set message window size > 1 in the Generate step editing widget, we get this error on AWS Bedrock. But if we set message window size = 1 then it works, just the agent can respond only short responses. Version of RAGflow is 0.16.0 slim.

martinarisk avatar Mar 12 '25 18:03 martinarisk

Solved using window size -1/switch to Claude 3.5. Thanks.

martinarisk avatar Mar 17 '25 09:03 martinarisk