-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Closed
Labels
modelsPertains to using alternate, non-GPT, models (e.g., local models, llama, etc.)Pertains to using alternate, non-GPT, models (e.g., local models, llama, etc.)
Description
Describe the bug
I have a group chat with multiple agent. one agent uses Anthropic model, other agents use openai model.
I have followed this instruction to implement Anthropic model
https://microsoft.github.io/autogen/docs/topics/non-openai-models/cloud-anthropic
Steps to reproduce
No response
Model Used
claude-3-sonnet-20240229
Expected Behavior
no error when run group chat
Screenshots and logs
anthropic.BadRequestError: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'messages: roles must alternate between "user" and "assistant", but found multiple "user" roles in a row'}}
Additional Information
End point: anthropic
### Tasks
brycecf
Metadata
Metadata
Assignees
Labels
modelsPertains to using alternate, non-GPT, models (e.g., local models, llama, etc.)Pertains to using alternate, non-GPT, models (e.g., local models, llama, etc.)