Agents - Chat throwing "A conversation must alternate between user and assistant roles. Make sure the conversation alternates between user and assistant roles and try again." #10271
-
Hi, im trying to use this example https://github.com/microsoft/semantic-kernel/blob/main/python/samples/getting_started_with_agents/step3_chat.py with AWS Bedrock Claude Sonnet 3.5. Unfortunately I get this error: It seems that ChatHistory for this model cannot have two consecutive responses from the assistant. I would be grateful for any ideas on how to solve this problem |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I've created an issue #10281 for the team to investigate. |
Beta Was this translation helpful? Give feedback.
I've created an issue #10281 for the team to investigate.