mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #17405] issue: [Bug] Multiple Cascading Failures in Automatic Title Generation Prevent Any Customization #56940
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 @ttbj2023 on GitHub (Sep 12, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17405
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.28
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04.3 LTS
Browser (if applicable)
firefox
Confirmation
README.md.Expected Behavior
Actual Behavior
The automatic title generation feature is currently impossible to customize due to a series of cascading bugs. The final working solution requires modifying the source code directly.
The failures occur in three stages:
Custom Prompt Field Fails to Save: The primary input field under
Settings > Interfacefor a custom title prompt does not persist its value. The backend logic seems to completely ignore this field upon saving, making the UI setting non-functional.Virtual Model Workaround Fails: The community-suggested workaround of creating a "virtual model" with a dedicated system prompt is blocked by a UI bug. Even when a new model is created and set to "Public," it does not appear in the "Task Model" dropdown list, sometimes showing a "This model is not public" error.
Direct System Prompt Causes "Double Prompt Injection": Applying a system prompt directly to a base model (e.g.,
gemini-2.5-flash) and selecting it as the "Task Model" reveals a critical logic flaw. The final payload sent to the LLM contains both the custom system prompt and the hardcoded default title prompt, creating a conflicting and unpredictable instruction.Steps to Reproduce
Failure 1: The "Custom Title Prompt" field does not save.
Admin Panel > Settings > Interface.Title Generation > For generating the title automaticallyfield empty.Failure 2: "Virtual Model" workaround is not functional.
Admin Panel > Modelsand click "Add a model".title-generator) with aBase Modeland a customSystem Prompt.Visibilityto Public and save.Admin Panel > Settings > Interface.title-generatorunderTask Model.Failure 3: Assigning a model with a system prompt causes "Double Prompt Injection".
gemini-2.5-flash) and add a custom title generation prompt to itsSystem Promptfield.Settings > Interface, select this modified model as theTask Model.systemrole with the custom prompt, and oneuserrole with the default prompt).Logs & Screenshots
Here are the screenshots showing the "Virtual Model" UI bug where a public model is not selectable:
Here is the log snippet showing the critical "Double Prompt Injection" failure (Failure 3). Note the two conflicting tasks in the
messagesarray:@tjbck commented on GitHub (Sep 15, 2025):
Only base model(s) are supported as task models.