浏览代码

refac/fix

Timothy Jaeryang Baek 2 月之前
父节点
当前提交
ea18ffdade
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backend/open_webui/utils/middleware.py

+ 1 - 1
backend/open_webui/utils/middleware.py

@@ -2064,7 +2064,7 @@ async def process_chat_response(
                             if done:
                             if done:
                                 pass
                                 pass
                             else:
                             else:
-                                log.debug("Error: ", e)
+                                log.debug(f"Error: {e}")
                                 continue
                                 continue
 
 
                     if content_blocks:
                     if content_blocks: