mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #18458] [CLOSED] Bug wrong chat rename model #47848
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/18458
Author: @druellan
Created: 10/20/2025
Status: ❌ Closed
Base:
main← Head:bug-wrong-chat-rename-model📝 Commits (2)
ad8b9f1fix: fetch the correct task model to pass to the generateTitle endpoint5ffb033Fix: wrong model being used for title generation when manually editing a chat name (server fix)📊 Changes
2 files changed (+7 additions, -6 deletions)
View changed files
📝
backend/open_webui/routers/tasks.py(+6 -5)📝
backend/open_webui/utils/task.py(+1 -1)📄 Description
Pull Request Checklist
devbranch. Not targeting thedevbranch may lead to immediate closure of the PR.Changelog Entry
Description
Fixed
Swapped the detection, so, we test for a TASK_MODEL and TASK_MODEL_EXTERNAL first, and then we drop the request if no valid model is found.
backend\open_webui\routers\tasks.py:Also,
backend\open_webui\utils\task.pyreceived a small update (if task_model_id in models) to avoid a hard error if the model_id is invalid:Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.