mirror of
https://github.com/open-webui/open-webui
synced 2025-02-07 21:47:29 +00:00
fix: title gen
This commit is contained in:
parent
08ad4ee018
commit
6658e67113
@ -909,7 +909,7 @@ async def process_chat_response(
|
||||
"title", "New Chat"
|
||||
)
|
||||
except Exception as e:
|
||||
pass
|
||||
title = ""
|
||||
|
||||
if not title:
|
||||
title = messages[0].get("content", "New Chat")
|
||||
|
Loading…
Reference in New Issue
Block a user