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

OpenAI node: O1 models - JSON output fails #12199

Open
cedricziel opened this issue Dec 13, 2024 · 1 comment · May be fixed by #12200
Open

OpenAI node: O1 models - JSON output fails #12199

cedricziel opened this issue Dec 13, 2024 · 1 comment · May be fixed by #12200
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@cedricziel
Copy link

Bug Description

OpenAI text completion fails with hint that o1 doesn't support a system prompt

image

To Reproduce

  1. create an openai text node
  2. select an o1 modle
  3. set "Output Content as JSON" to true
  4. See that executions fail with the hint that this model doesn't like system prompts

Expected behavior

The API call should succeed

Operating System

docker

n8n Version

1.71.2

Node.js Version

packaged

Database

SQLite (default)

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Dec 13, 2024

Hey @cedricziel,

We have created an internal ticket to look into this which we will be tracking as "N8N-7955"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Dec 13, 2024
@cedricziel cedricziel linked a pull request Dec 13, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants