diff --git a/backend/open_webui/utils/middleware.py b/backend/open_webui/utils/middleware.py index 00f4dd402..833db503a 100644 --- a/backend/open_webui/utils/middleware.py +++ b/backend/open_webui/utils/middleware.py @@ -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")