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: Unsupported value: 'messages[0].role' does not support 'system' with o1-mini & o1-preview #4392

Closed
1 of 3 tasks
tobsn opened this issue Jan 3, 2025 · 4 comments · Fixed by #4455
Closed
1 of 3 tasks
Assignees
Labels
category: model settings Inference params, presets, templates type: bug Something isn't working
Milestone

Comments

@tobsn
Copy link

tobsn commented Jan 3, 2025

Jan version

0.5.12.

Describe the Bug

Returns this error on OpenAI o1-mini and o1-preview when assistant instructions is not empty.

Steps to Reproduce

Select OpenAI models o1-mini or o1-preview and any text in the assistant instructions textarea field.

Screenshots / Logs

yjv3zPy9snlsK6kUZe1eqoT3W7E6Wnsw

Unsupported value: 'messages[0].role' does not support 'system' with this model.
Something's wrong. Access troubleshooting assistance now.

What is your OS?

  • MacOS
  • Windows
  • Linux
@tobsn tobsn added the type: bug Something isn't working label Jan 3, 2025
@github-project-automation github-project-automation bot moved this to Investigating in Menlo Jan 3, 2025
@imtuyethan
Copy link
Contributor

imtuyethan commented Jan 3, 2025

Can reproduce:

Screenshot 2025-01-03 at 12 14 53 PM

@imtuyethan imtuyethan moved this from Investigating to Scheduled in Menlo Jan 3, 2025
@imtuyethan imtuyethan added this to the v0.5.14 milestone Jan 3, 2025
@imtuyethan imtuyethan changed the title bug: Unsupported value: 'messages[0].role' does not support 'system' with this model. bug: Unsupported value: 'messages[0].role' does not support 'system' with o1-mini & o1-preview` Jan 3, 2025
@imtuyethan imtuyethan changed the title bug: Unsupported value: 'messages[0].role' does not support 'system' with o1-mini & o1-preview` bug: Unsupported value: 'messages[0].role' does not support 'system' with o1-mini & o1-preview Jan 3, 2025
@imtuyethan imtuyethan added the category: model settings Inference params, presets, templates label Jan 3, 2025
@louis-jan
Copy link
Contributor

louis-jan commented Jan 4, 2025

System messages are currently not supported under the o1 models.

Beta limitations

Message types: user and assistant messages only, system messages are not supported.

It seems like this will change in the future though.

Please do not input instructions message for those models. Otherwise, the UI needs to be updated. @imtuyethan

KIV

@louis-jan louis-jan moved this from Scheduled to Investigating in Menlo Jan 4, 2025
@louis-jan louis-jan removed this from the v0.5.14 milestone Jan 4, 2025
@louis-jan louis-jan moved this from Investigating to Scheduled in Menlo Jan 12, 2025
@louis-jan
Copy link
Contributor

This should be gated when implementing #4251

@louis-jan louis-jan moved this from Scheduled to In Progress in Menlo Jan 14, 2025
@louis-jan louis-jan moved this from In Progress to Eng Review in Menlo Jan 15, 2025
@github-project-automation github-project-automation bot moved this from Eng Review to QA in Menlo Jan 15, 2025
@imtuyethan imtuyethan added this to the v0.5.14 milestone Jan 16, 2025
@imtuyethan
Copy link
Contributor

Fixed:

Image

@imtuyethan imtuyethan moved this from QA to Completed in Menlo Jan 21, 2025
@imtuyethan imtuyethan modified the milestones: v0.5.14, v0.5.15 Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: model settings Inference params, presets, templates type: bug Something isn't working
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

3 participants