Describe the bug
Hi!
Thanks for your excellent project! But I have encountered some bugs, when using vllm to serve local open-sourced llms for GroupChat, such as Llama2-7b-chat-hf and Mistral, there are messages like:
- role sequence like ['system','assistant','user'...] for the first speaker in the group
- role sequence like ['system','user','user'...] for other speakers
and this would cause error " Conversation roles must alternate user/assistant/user/assistant/..."
I guess it is the result of chat template and I have read the case in https://microsoft.github.io/autogen/docs/topics/non-openai-models/local-vllm#chat-template. I tried the provided template for Mistral but the errors still exist.
I want to know how to solve this problem. Thank you!
Steps to reproduce
No response
Model Used
No response
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response
Describe the bug
Hi!
Thanks for your excellent project! But I have encountered some bugs, when using vllm to serve local open-sourced llms for GroupChat, such as Llama2-7b-chat-hf and Mistral, there are messages like:
and this would cause error " Conversation roles must alternate user/assistant/user/assistant/..."
I guess it is the result of chat template and I have read the case in https://microsoft.github.io/autogen/docs/topics/non-openai-models/local-vllm#chat-template. I tried the provided template for Mistral but the errors still exist.
I want to know how to solve this problem. Thank you!
Steps to reproduce
No response
Model Used
No response
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response