We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
An error occurs when using o1 models as OpenAI decided that a system message no longer is called a system message, but a developer message
Insert an AI agent in your flow Select the o1 (or 01-mini) model as model
When running the flow you'll get an error "Unsupported value: 'messages[0].role' does not support 'system' with this model."
Messages using "developer" as message role instead of "system"
https://platform.openai.com/docs/api-reference/chat
all
1.74.2
?
SQLite (default)
main (default)
The text was updated successfully, but these errors were encountered:
Hey @rlynggaard,
We have created an internal ticket to look into this which we will be tracking as "N8N-8142"
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug Description
An error occurs when using o1 models as OpenAI decided that a system message no longer is called a system message, but a developer message
To Reproduce
Insert an AI agent in your flow
Select the o1 (or 01-mini) model as model
When running the flow you'll get an error
"Unsupported value: 'messages[0].role' does not support 'system' with this model."
Expected behavior
Messages using "developer" as message role instead of "system"
https://platform.openai.com/docs/api-reference/chat
Operating System
all
n8n Version
1.74.2
Node.js Version
?
Database
SQLite (default)
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: