This commit is contained in:
Timothy Jaeryang Baek
2025-04-05 05:03:15 -06:00
parent 66db2e1515
commit 93bb77ede3
3 changed files with 19 additions and 19 deletions

View File

@@ -226,7 +226,7 @@ async def chat_completion_tools_handler(
if isinstance(tool_result, str):
tool = tools[tool_function_name]
tool_id = tool.get("toolkit_id", "")
tool_id = tool.get("tool_id", "")
if tool.get("metadata", {}).get("citation", False) or tool.get(
"direct", False
):