[PR #8265] [CLOSED] fix: openai payload #109507

Closed
opened 2026-05-18 08:53:35 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/8265
Author: @gabriel-ecegi
Created: 1/2/2025
Status: Closed

Base: devHead: fix_open_ai_payload_chat_id


📝 Commits (2)

📊 Changes

1 file changed (+9 additions, -0 deletions)

View changed files

📝 backend/open_webui/routers/openai.py (+9 -0)

📄 Description

fix: openai payload

Description

Fixes OpenAI API errors by properly cleaning the payload and improving error logging.

Changes

  • Remove chat_id from payload before sending to OpenAI API
  • Add detailed error logging for OpenAI API responses
  • Fixes #8263 - Merged Response not working in v0.5.3

Testing

  • Verified chat completions work with cleaned payload
  • Confirmed error messages are properly logged

🔄 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/8265 **Author:** [@gabriel-ecegi](https://github.com/gabriel-ecegi) **Created:** 1/2/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `fix_open_ai_payload_chat_id` --- ### 📝 Commits (2) - [`e4c64c5`](https://github.com/open-webui/open-webui/commit/e4c64c52e9df5beb0f8b16f9a93f518800c4b8dc) fix: openai payload - [`00a230a`](https://github.com/open-webui/open-webui/commit/00a230a0afdcde88d733c083baf2e60cf66990e6) refac: formatting ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/routers/openai.py` (+9 -0) </details> ### 📄 Description # fix: openai payload ## Description Fixes OpenAI API errors by properly cleaning the payload and improving error logging. ## Changes - Remove `chat_id` from payload before sending to OpenAI API - Add detailed error logging for OpenAI API responses ## Related Issues - Fixes #8263 - Merged Response not working in v0.5.3 ## Testing - Verified chat completions work with cleaned payload - Confirmed error messages are properly logged --- <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-05-18 08:53:35 -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#109507