mirror of
https://github.com/open-webui/open-webui
synced 2025-02-12 16:26:55 +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"
|
"title", "New Chat"
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
pass
|
title = ""
|
||||||
|
|
||||||
if not title:
|
if not title:
|
||||||
title = messages[0].get("content", "New Chat")
|
title = messages[0].get("content", "New Chat")
|
||||||
|
Loading…
Reference in New Issue
Block a user