Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Autogen not compatible with o1 #626

Open
tyler-suard-parker opened this issue Jan 22, 2025 · 1 comment
Open

[Bug]: Autogen not compatible with o1 #626

tyler-suard-parker opened this issue Jan 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@tyler-suard-parker
Copy link

Describe the bug

openai.BadRequestError: Error code: 400 - {'error': {'message': "Unsupported value: 'messages[0].role' does not support 'system' with this model.", 'type': 'invalid_request_error', 'param': 'messages[0].role', 'code': 'unsupported_value'}}

Steps to reproduce

Try to use Autogen with o1

Model Used

01

Expected Behavior

No response

Screenshots and logs

No response

Additional Information

It might be an idea to make the "system" role optional. In my own code I switched the role to "user" and things worked.

@tyler-suard-parker tyler-suard-parker added the bug Something isn't working label Jan 22, 2025
@marklysze
Copy link
Collaborator

marklysze commented Jan 23, 2025

Thanks @tyler-suard-parker, CC @Hk669 and @davorrunje

Would you be able to show us the llm config (without the key)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants