mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
feat: better context management #2573
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 @Eureka-0 on GitHub (Nov 5, 2024).
Feature Request
Is your feature request related to a problem? Please describe.
As an OpenAI API user, I often don't need much context (usually 4 or fewer), since longer contexts increase the cost. This situation likely applies to most of OpenAI or Claude API users. Therefore, implementing built-in context management would be beneficial, with good examples like LobeChat providing inspiration.
Describe the solution you'd like
A built-in context management based on conversations, and allow me to change its value at any time.
Describe alternatives you've considered
I tried using the "context clip filter" function, but found it inconvenient. To use this function, I have to create a new model specifically incorporating it. Additionally, if I change the history message value of this function, it affects all ongoing conversations that use the model. This makes it difficult to manage multiple conversations with different history message values.
Additional context
Take LobeChat's context management capabilities as an example: