[GH-ISSUE #5683] OpenAI o1: "'messages[0].role' does not support 'system' with this model." #14082

Closed
opened 2026-04-19 20:33:59 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @AspireOne on GitHub (Sep 24, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5683

Bug Report

Installation Method

Docker

Environment

  • Open WebUI Version: v0.3.28
  • Operating System: Windows 11
  • Browser: Chrome

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

o1 request should go through like normal.

Actual Behavior:

When I make a request to o1, it throws an error.

Description

Bug Summary:
When I make a request to o1, it throws an error "Unsupported value: 'messages[0].role' does not support 'system' with this model".

Reproduction Details

The model is OpenAI o1.

Steps to Reproduce:

  1. Select OpenAI o1
  2. make any request
  3. see the error

Browser Console Logs:

Failed to load resource: the server responded with a status of 400 ()        /api/chat/completions:1

detail: "Unsupported value: 'messages[0].role' does not support 'system' with this model."

Screenshots/Screen Recordings (if applicable):

image

Originally created by @AspireOne on GitHub (Sep 24, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/5683 # Bug Report ## Installation Method Docker ## Environment - **Open WebUI Version:** v0.3.28 - **Operating System:** Windows 11 - **Browser:** Chrome **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: o1 request should go through like normal. ## Actual Behavior: When I make a request to o1, it throws an error. ## Description **Bug Summary:** When I make a request to o1, it throws an error "Unsupported value: 'messages[0].role' does not support 'system' with this model". ## Reproduction Details The model is OpenAI o1. **Steps to Reproduce:** 1. Select OpenAI o1 2. make any request 3. see the error ## Browser Console Logs: ``` Failed to load resource: the server responded with a status of 400 () /api/chat/completions:1 detail: "Unsupported value: 'messages[0].role' does not support 'system' with this model." ``` **Screenshots/Screen Recordings (if applicable):** ![image](https://github.com/user-attachments/assets/dfd5fa9a-2038-4316-b28f-4e27534f92ce)
Author
Owner

@AspireOne commented on GitHub (Sep 24, 2024):

I just realized I used o1 from OpenAi, not from OpenRouter. I do not have access to OpenAI o1, so that will be the reason for the error (albeit cryptic and wrong).

<!-- gh-comment-id:2372405158 --> @AspireOne commented on GitHub (Sep 24, 2024): I just realized I used o1 from OpenAi, not from OpenRouter. I do not have access to OpenAI o1, so that will be the reason for the error (albeit cryptic and wrong).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#14082