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

Add support for o1 models #636

Open
Emanuel-Bjurhager opened this issue Oct 26, 2024 · 2 comments
Open

Add support for o1 models #636

Emanuel-Bjurhager opened this issue Oct 26, 2024 · 2 comments

Comments

@Emanuel-Bjurhager
Copy link

When using a o1 model, the following error is returned:

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'}}

There should be an option to disable roles completely, to allow the user to just not use roles, and also to make it work with the new o1 models.

@amigthea
Copy link

I get the same error, have you found a workaround?

@Emanuel-Bjurhager
Copy link
Author

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants