This commit is contained in:
Timothy Jaeryang Baek
2025-12-01 13:52:09 -05:00
parent f5e8d4d5a0
commit 52ccab8fc0

View File

@@ -458,12 +458,6 @@ async def chat_completion_tools_handler(
}
)
print(
f"Tool {tool_function_name} result: {tool_result}",
tool_result_files,
tool_result_embeds,
)
if tool_result:
tool = tools[tool_function_name]
tool_id = tool.get("tool_id", "")
@@ -491,12 +485,6 @@ async def chat_completion_tools_handler(
}
)
# Citation is not enabled for this tool
body["messages"] = add_or_update_user_message(
f"\nTool `{tool_name}` Output: {tool_result}",
body["messages"],
)
if (
tools[tool_function_name]
.get("metadata", {})