We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5e8d4d commit 52ccab8Copy full SHA for 52ccab8
backend/open_webui/utils/middleware.py
@@ -458,12 +458,6 @@ async def tool_call_handler(tool_call):
458
}
459
)
460
461
- print(
462
- f"Tool {tool_function_name} result: {tool_result}",
463
- tool_result_files,
464
- tool_result_embeds,
465
- )
466
-
467
if tool_result:
468
tool = tools[tool_function_name]
469
tool_id = tool.get("tool_id", "")
@@ -491,12 +485,6 @@ async def tool_call_handler(tool_call):
491
485
492
486
493
487
494
- # Citation is not enabled for this tool
495
- body["messages"] = add_or_update_user_message(
496
- f"\nTool `{tool_name}` Output: {tool_result}",
497
- body["messages"],
498
499
500
488
if (
501
489
tools[tool_function_name]
502
490
.get("metadata", {})
0 commit comments