mirror of
https://github.com/open-webui/open-webui
synced 2024-12-28 14:52:23 +00:00
refac: rm print
This commit is contained in:
parent
10747a6b04
commit
6b46b8bf62
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user