O1 does not support the system parameter. When sending parameters, if there is a system parameter, change it to user.
After
🔄 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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:
dev← Head:fix_o1_system_message📝 Commits (4)
be74a4cFix: O1 does not support the system parametere13614eFix: O1 does not support the system parameter5b3ee30Merge remote-tracking branch 'origin/fix_o1_system_message' into fix_o1_system_message4ead3c5chore: 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
systemparameter. When sending parameters, if there is asystemparameter, change it touser.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.