dify icon indicating copy to clipboard operation
dify copied to clipboard

The problem classifier using AWS Bedrock's claude model will report an error

Open YYyp99 opened this issue 4 months ago • 3 comments

Self Checks

  • [X] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [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] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [X] Please do not modify this template :) and fill in all the required fields.

Dify version

0.10.1

Cloud or Self Hosted

Cloud, Self Hosted (Docker)

Steps to reproduce

In the workflow, I used a problem classifier and chose AWS Bedrock's Claude model. I used Claude 3.5 Sonnet, but when I ran it, an error occurred

✔️ Expected Behavior

Successfully run

❌ Actual Behavior

image error message: Run failed: [bedrock] Error: ValidationException: A conversation must alternate between user and assistant roles. Make sure the conversation alternates between user and assistant roles and try again.

YYyp99 avatar Oct 24 '24 05:10 YYyp99