mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-24 03:18:21 -05:00
[GH-ISSUE #19616] issue: "Generate Title" button in chat rename mode fails silently #18944
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 @bshi61646 on GitHub (Dec 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19616
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.40
Ollama Version (if applicable)
N/A
Operating System
macOS Sequoia 15.7.1
Browser (if applicable)
Safari 26.0.1
Confirmation
README.md.Expected Behavior
When clicking the "Generate Title" button (star icon) while in chat rename mode, the title generation API should be called and the chat title should be updated automatically.
Actual Behavior
The edit mode exits immediately without triggering any API call. No request appears in Docker logs or browser network tab.
Steps to Reproduce
Expected at step 6: API call to /api/v1/tasks/title/completions, title gets updated
Actual at step 6: Edit mode closes, no API call in logs
Logs & Screenshots
Docker logs show no API call to /api/v1/tasks/title/completions when clicking the button.
Root cause identified in
src/lib/components/layout/Sidebar/ChatItem.svelte(lines 471-482):The "Generate Title" button lacks an
on:clickhandler and relies on blur event's relatedTarget, which fails silently.Current code:
Suggested fix - add on:click and on:mouseleave handlers:
Additional Information
No response
@owui-terminator[bot] commented on GitHub (Dec 1, 2025):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#13592 issue: 🔴 Generate Title button throws internal error for non-admin users
by devgauchocode • May 06, 2025 •
bug#19340 issue: Generate Title for Chat returns "Model Not Found" when Model Is not available for use
by panuud • Nov 21, 2025 •
bug#18876 issue: Generate title for chat always returns 'Model not found' and 404 in console
by avidwriter • Nov 03, 2025 •
bug#16462 issue: Title Generation
by yuliang615 • Aug 11, 2025 •
bug#16508 issue: Chat title not being displayed even though the backend generates it
by jamesyc • Aug 12, 2025 •
bugShow 5 more related issues
#18877 issue: Chat title remains "New Chat" after regenerating response - no auto-title generation
by cjl-dayeonepark • Nov 03, 2025 •
bug#1588 bug: Auto title generation does not work
by peperunas • Apr 17, 2024
#18717 issue: New chats fail to set a distinct chat title
by ITankForCAD • Oct 29, 2025 •
bug#14697 issue: Manually triggered generation of conversation-titles takes the wrong chat-ID for context.
by lineg-it • Jun 05, 2025 •
bug#13946 issue: Chat title generation not working when changing the settings (in Dutch)
by kvand137 • May 16, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@bshi61646 commented on GitHub (Dec 1, 2025):
Update: Confirmed this works in Chrome but fails in Safari. The blur event's relatedTarget may behave differently across browsers. Adding a direct on:click handler would ensure consistent behavior.
@silentoplayz commented on GitHub (Dec 1, 2025):
I can confirm I'm able to reproduce this issue with the
Generate Titlebutton on my iPhone via the Safari browser. It was also reproducible on Firefox using "Responsive Design Mode" to mimic an iPhone with the following user agent:Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Mobile/15E148 Safari/604.1.A PR is welcome here @bshi61646.
Edit: My testing was poor and I am actually NOT able to reproduce this issue with the
Generate Titlebutton on my iPhone via the Safari browser or as a PWA on my iPhone on the latestdevcommit of Open WebUI.@tjbck commented on GitHub (Dec 2, 2025):
Addressed.