mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #19340] issue: Generate Title for Chat returns "Model Not Found" when Model Is not available for use #57512
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 @panuud on GitHub (Nov 21, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19340
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.36
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When the TASK_MODEL or TASK_MODEL_EXTERNAL is configured in Interface Settings, the title generation function should use these configured models as a model for title creation.
Actual Behavior
The system returns a "Model not found" error when attempting to generate a title, even when TASK_MODEL and TASK_MODEL_EXTERNAL is properly set.
Steps to Reproduce
Logs & Screenshots
Additional Information
The issue likely occurs in open-webui/backend/open_webui/routers/tasks.py within the generate_title function. The current implementation checks only the available models list but doesn't fall back to the configured TASK_MODEL or TASK_MODEL_EXTERNAL values, so When the original model is missing, it triggers an exception. This may relate to #18896
@tjbck commented on GitHub (Nov 21, 2025):
Unable to reproduce, are your task models public models?