mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #15813] [CLOSED] feat: Expose chat_id as a header on ENABLE_FORWARD_USER_INFO_HEADERS for OpenAI chat completion endpoint #127606
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/15813
Author: @askarbozcan
Created: 7/17/2025
Status: ❌ Closed
Base:
dev← Head:main📝 Commits (1)
4c43994expose chat-id on ENABLE_FORWARD_USER_HEADERS for OpenAI chat completion endpoint📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
backend/open_webui/routers/openai.py(+2 -0)📄 Description
Pull Request Checklist
devbranch.Changelog Entry
Description
Added
Additional Information
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
A few notes : I wonder if it would be better to expose it with a new environment variable, what do you think? Also, where else can we expose chat_id, except the OpenAI chat completions?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.