Timothy Jaeryang Baek 3 miesięcy temu
rodzic
commit
6658e67113
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      backend/open_webui/utils/middleware.py

+ 1 - 1
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")