[PR #5758] [MERGED] Fix: O1 does not support the system parameter #21750

Closed
opened 2026-04-20 03:42:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/5758
Author: @kivvi3412
Created: 9/27/2024
Status: Merged
Merged: 9/27/2024
Merged by: @tjbck

Base: devHead: fix_o1_system_message


📝 Commits (4)

  • be74a4c Fix: O1 does not support the system parameter
  • e13614e Fix: O1 does not support the system parameter
  • 5b3ee30 Merge remote-tracking branch 'origin/fix_o1_system_message' into fix_o1_system_message
  • 4ead3c5 chore: format

📊 Changes

1 file changed (+7 additions, -4 deletions)

View changed files

📝 backend/open_webui/apps/openai/main.py (+7 -4)

📄 Description

Changelog Entry

Description

  • O1 does not support the system parameter. When sending parameters, if there is a system parameter, change it to user.
  • iShot_2024-09-27_19 52 58
  • After
  • image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/5758 **Author:** [@kivvi3412](https://github.com/kivvi3412) **Created:** 9/27/2024 **Status:** ✅ Merged **Merged:** 9/27/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `fix_o1_system_message` --- ### 📝 Commits (4) - [`be74a4c`](https://github.com/open-webui/open-webui/commit/be74a4c9c14612bb82bd1b55a43712f3be773080) Fix: O1 does not support the system parameter - [`e13614e`](https://github.com/open-webui/open-webui/commit/e13614e11bcd50ecd206411b5e49ec25520d0865) Fix: O1 does not support the system parameter - [`5b3ee30`](https://github.com/open-webui/open-webui/commit/5b3ee30ca97ae331e230f0b719ed289f020ec64c) Merge remote-tracking branch 'origin/fix_o1_system_message' into fix_o1_system_message - [`4ead3c5`](https://github.com/open-webui/open-webui/commit/4ead3c5b8059a55fa65f22b26c5763da0b1d5809) chore: format ### 📊 Changes **1 file changed** (+7 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/apps/openai/main.py` (+7 -4) </details> ### 📄 Description # Changelog Entry ### Description - O1 does not support the `system` parameter. When sending parameters, if there is a `system` parameter, change it to `user`. - <img width="1270" alt="iShot_2024-09-27_19 52 58" src="https://github.com/user-attachments/assets/6a455405-5a9f-496b-907b-690e08413d46"> - After - <img width="1253" alt="image" src="https://github.com/user-attachments/assets/2a50d888-a071-41db-84a9-7f97e7df99b8"> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 03:42:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#21750