mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #8545] Feature Request: Support OpenAI Model Context Trimming and File Cleanup #30692
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?
Originally created by @MCQSJ on GitHub (Jan 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8545
Is your feature request related to a problem? Please describe.
Currently, Open WebUI supports context trimming (setting the number of context messages sent with each request) only for Ollama models. This feature is not available for OpenAI models, which can lead to excessive token usage and increased costs when conversations grow long. Additionally, uploaded files remain stored locally even after the associated chat is deleted, which can lead to unnecessary storage usage.
Describe the solution you'd like
Describe alternatives you've considered
Additional context