mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
fix: title gen
This commit is contained in:
parent
08ad4ee018
commit
6658e67113
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue