Files
open-webui/backend/open_webui/utils
Classic298andGitHub fccd755684 fix: send the saved title in the chat:title event when title generation is off (#31355)
Fixes #31348

With title generation turned off (per user or by the admin), the chat is saved with the first user message as its title, but the live title event sent the assistant message instead. A new chat therefore kept showing "New Chat" in the header and tab until a reload, because the assistant message is still empty at that point. In a note's chat panel the whole model reply showed up as the title.

The fallback branch now sends the title it just saved, the same way the generated-title branch above it already does. The sidebar was never affected because it reloads titles from the database.
2026-09-24 15:58:50 -04:00
..
2026-09-21 11:35:30 -04:00
2026-09-12 14:57:22 -04:00
2026-08-24 18:29:36 -04:00
2026-09-19 17:54:09 -04:00
2026-07-31 17:41:14 -04:00
2026-08-23 13:36:53 -04:00
2026-08-31 01:29:36 -04:00
…
2026-09-12 15:41:57 -04:00
2026-09-24 12:10:30 -04:00
2026-08-16 22:56:19 -07:00
2026-08-17 00:57:57 -07:00
2026-08-24 18:29:36 -04:00
2026-09-21 11:35:30 -04:00
2026-08-25 16:53:53 -04:00
…
2026-09-24 12:34:04 -04:00
2026-08-25 16:53:53 -04:00
2026-09-15 22:47:03 -04:00
2026-07-31 17:41:14 -04:00