fix: title gen

This commit is contained in:
Timothy Jaeryang Baek 2025-01-29 20:03:46 -08:00
parent 08ad4ee018
commit 6658e67113

View File

@ -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")