浏览代码

refac: rm print

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

+ 0 - 2
backend/open_webui/main.py

@@ -480,8 +480,6 @@ async def chat_completion_tools_handler(
             except Exception as e:
             except Exception as e:
                 tool_output = str(e)
                 tool_output = str(e)
 
 
-            print(tools[tool_function_name]["citation"])
-
             if isinstance(tool_output, str):
             if isinstance(tool_output, str):
                 if tools[tool_function_name]["citation"]:
                 if tools[tool_function_name]["citation"]:
                     sources.append(
                     sources.append(