I have searched for any existing and/or related issues.
I have searched for any existing and/or related discussions.
I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
I am using the latest version of Open WebUI.
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
I have read and followed all instructions in README.md.
I am using the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have provided every relevant configuration, setting, and environment variable used in my setup.
I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
Start with the initial platform/version/OS and dependencies used,
Specify exact install/launch/configure commands,
List URLs visited, user input (incl. example values/emails/passwords if needed),
Describe all options and toggles enabled or changed,
Include any files or environmental changes,
Identify the expected and actual result at each stage,
Ensure any reasonably skilled user can follow and hit the same issue.
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
Environment: Open WebUI (Docker :main), macOS, Safari
Open any existing chat that has messages
Hover over the chat in the sidebar
Click the pencil/edit icon to enter rename mode
Click the "Generate Title" button (star icon on the right side of the input field)
Observe: Edit mode exits immediately, no title is generated
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:click handler and relies on blur event's relatedTarget, which fails silently.
Originally created by @bshi61646 on GitHub (Dec 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19616
### Check Existing Issues
- [x] I have searched for any existing and/or related issues.
- [x] I have searched for any existing and/or related discussions.
- [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
- [x] I am using the latest version of Open WebUI.
### 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
- [x] I have read and followed all instructions in `README.md`.
- [x] I am using the latest version of **both** Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.**
- [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
- [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps:
- Start with the initial platform/version/OS and dependencies used,
- Specify exact install/launch/configure commands,
- List URLs visited, user input (incl. example values/emails/passwords if needed),
- Describe all options and toggles enabled or changed,
- Include any files or environmental changes,
- Identify the expected and actual result at each stage,
- Ensure any reasonably skilled user can follow and hit the same issue.
### 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
1. Environment: Open WebUI (Docker :main), macOS, Safari
2. Open any existing chat that has messages
3. Hover over the chat in the sidebar
4. Click the pencil/edit icon to enter rename mode
5. Click the "Generate Title" button (star icon on the right side of the input field)
6. Observe: Edit mode exits immediately, no title is generated
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:click` handler and relies on blur event's relatedTarget, which fails silently.
Current code:
```
<button
id="generate-title-button"
disabled={generating}
on:mouseenter={() => { ignoreBlur = true; }}
>
```
Suggested fix - add on:click and on:mouseleave handlers:
```
<button
id="generate-title-button"
disabled={generating}
on:mouseenter={() => { ignoreBlur = true; }}
on:mouseleave={() => { ignoreBlur = false; }}
on:click={() => { generateTitleHandler(); }}
>
```
### Additional Information
_No response_
GiteaMirror
added the bug label 2026-04-20 01:13:52 -05:00
@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:
#13592issue: 🔴 Generate Title button throws internal error for non-admin users by devgauchocode • May 06, 2025 • bug
#19340issue: Generate Title for Chat returns "Model Not Found" when Model Is not available for use by panuud • Nov 21, 2025 • bug
#18876issue: Generate title for chat always returns 'Model not found' and 404 in console by avidwriter • Nov 03, 2025 • bug
#16462issue: Title Generation by yuliang615 • Aug 11, 2025 • bug
#16508issue: Chat title not being displayed even though the backend generates it by jamesyc • Aug 12, 2025 • bug
Show 5 more related issues
#18877issue: Chat title remains "New Chat" after regenerating response - no auto-title generation by cjl-dayeonepark • Nov 03, 2025 • bug
#1588bug: Auto title generation does not work by peperunas • Apr 17, 2024
#18717issue: New chats fail to set a distinct chat title by ITankForCAD • Oct 29, 2025 • bug
#14697issue: Manually triggered generation of conversation-titles takes the wrong chat-ID for context. by lineg-it • Jun 05, 2025 • bug
#13946issue: Chat title generation not working when changing the settings (in Dutch) by kvand137 • May 16, 2025 • bug
💡Tips:
If this is a duplicate, please consider closing this issue and adding any additional details to the existing one
If you found a solution in any of these issues, please share it here to help others
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
<!-- gh-comment-id:3593954412 -->
@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:
1. [#13592](https://github.com/open-webui/open-webui/issues/13592) **issue: 🔴 Generate Title button throws internal error for non-admin users**
*by devgauchocode • May 06, 2025 • `bug`*
2. [#19340](https://github.com/open-webui/open-webui/issues/19340) **issue: Generate Title for Chat returns "Model Not Found" when Model Is not available for use**
*by panuud • Nov 21, 2025 • `bug`*
3. [#18876](https://github.com/open-webui/open-webui/issues/18876) **issue: Generate title for chat always returns 'Model not found' and 404 in console**
*by avidwriter • Nov 03, 2025 • `bug`*
4. [#16462](https://github.com/open-webui/open-webui/issues/16462) **issue: Title Generation**
*by yuliang615 • Aug 11, 2025 • `bug`*
5. [#16508](https://github.com/open-webui/open-webui/issues/16508) **issue: Chat title not being displayed even though the backend generates it**
*by jamesyc • Aug 12, 2025 • `bug`*
<details>
<summary>Show 5 more related issues</summary>
6. [#18877](https://github.com/open-webui/open-webui/issues/18877) **issue: Chat title remains "New Chat" after regenerating response - no auto-title generation**
*by cjl-dayeonepark • Nov 03, 2025 • `bug`*
7. [#1588](https://github.com/open-webui/open-webui/issues/1588) **bug: Auto title generation does not work**
*by peperunas • Apr 17, 2024*
8. [#18717](https://github.com/open-webui/open-webui/issues/18717) **issue: New chats fail to set a distinct chat title**
*by ITankForCAD • Oct 29, 2025 • `bug`*
9. [#14697](https://github.com/open-webui/open-webui/issues/14697) **issue: Manually triggered generation of conversation-titles takes the wrong chat-ID for context.**
*by lineg-it • Jun 05, 2025 • `bug`*
10. [#13946](https://github.com/open-webui/open-webui/issues/13946) **issue: Chat title generation not working when changing the settings (in Dutch)**
*by kvand137 • May 16, 2025 • `bug`*
</details>
---
💡 **Tips:**
- If this is a duplicate, please consider closing this issue and adding any additional details to the existing one
- If you found a solution in any of these issues, please share it here to help others
*This comment was generated automatically by a bot.* Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
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.
<!-- gh-comment-id:3593990069 -->
@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.
I can confirm I'm able to reproduce this issue with the Generate Title button 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 Title button on my iPhone via the Safari browser or as a PWA on my iPhone on the latest dev commit of Open WebUI.
<!-- gh-comment-id:3594023075 -->
@silentoplayz commented on GitHub (Dec 1, 2025):
I can confirm I'm able to reproduce this issue with the `Generate Title` button 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 Title` button on my iPhone via the Safari browser or as a PWA on my iPhone on the latest `dev` commit of Open WebUI.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.