mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-21 09:01:47 -05:00
[GH-ISSUE #8106] Auto title and tags generation not working in 0.5.1 #85742
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 @alwint3r on GitHub (Dec 26, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8106
Bug Report
Installation Method
I installed it using
pipEnvironment
Open WebUI Version: v0.5.1
Ollama (if applicable): v0.5.4
Operating System: macOS Sequoia 15.2
Browser (if applicable): Chrome 131.0.6778.109
Confirmation:
Expected Behavior:
I expect the title and the tags of a new chat to be automatically generated after the first answer from the AI is available.
Actual Behavior:
The title of the new chat remains "New Chat" and the tags are empty.
Description
Bug Summary:
I believe the auto-generation for title and tags of a chat is working before updating from v0.4.8 to v0.5.1
Reproduction Details
Logs and Screenshots
@alwint3r commented on GitHub (Dec 26, 2024):
One more thing, I don't see any code calling this function for some reason, whereas the "Chat.svelte" file in version v0.4.8 calls this function.
https://github.com/open-webui/open-webui/blob/v0.5.1/src/lib/apis/index.ts#L203
@Simi5599 commented on GitHub (Dec 26, 2024):
Can you provide Docker logs (if applicable)?
Maybe this is a regression introduced with #8075
@tjbck commented on GitHub (Dec 26, 2024):
@alwint3r Try pulling the latest main instead of 0.5.1, and let us know if that fixed the issue on your end!
@MigiSenpai416 commented on GitHub (Dec 27, 2024):
Same problem I am experiencing even after upgrading to latest main(v0.5.1)
Title generation works for OpenAI Models like 4o, 4o-mini. But leaves a blank title when using reasoning models(o1, o1-mini, o1-preview)


@tjbck commented on GitHub (Dec 27, 2024):
@MigiSenpai416 expected behaviour from o1 models, however I just added a title generation fallback logic to set the user message as the title.