mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #18171] [CLOSED] Bug: wrong model being used for title generation when manually editing a chat name #63542
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/18171
Author: @druellan
Created: 10/9/2025
Status: ❌ Closed
Base:
dev← Head:bug-wrong-chat-rename-model📝 Commits (3)
8d7d79d0.6.33 (#18118)46ae3f4Merge branch 'dev' into mainad8b9f1fix: fetch the correct task model to pass to the generateTitle endpoint📊 Changes
1 file changed (+4 additions, -3 deletions)
View changed files
📝
src/lib/components/layout/Sidebar/ChatItem.svelte(+4 -3)📄 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 is 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.