mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[PR #11916] [CLOSED] feat: Toggle preservation of metadata via env var #38447
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/11916
Author: @joelbarmettlerUZH
Created: 3/20/2025
Status: ❌ Closed
Base:
dev← Head:main📝 Commits (2)
34eaaecfeat: Toggle preservation of metadata via env varfbec380Merge branch 'dev' into main📊 Changes
3 files changed (+17 additions, -1 deletions)
View changed files
📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/env.py(+4 -0)📝
backend/open_webui/routers/openai.py(+7 -1)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
PRESERVE_METADATA_IN_OPENAI_API_CALLSthat prevents removing metadata for openai requests🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.