Spaces:
Running
Running
Update assistants.py
Browse files- assistants.py +1 -0
assistants.py
CHANGED
@@ -169,6 +169,7 @@ def execute_tool_calls(run_steps):
|
|
169 |
if hasattr(step_details, "tool_calls"):
|
170 |
for tool_call in step_details.tool_calls:
|
171 |
show_json("tool_call", tool_call)
|
|
|
172 |
|
173 |
if hasattr(tool_call, "function"):
|
174 |
tool_call_ids.append(tool_call.id)
|
|
|
169 |
if hasattr(step_details, "tool_calls"):
|
170 |
for tool_call in step_details.tool_calls:
|
171 |
show_json("tool_call", tool_call)
|
172 |
+
gr.Info(f"Calling tool {tool_call}")
|
173 |
|
174 |
if hasattr(tool_call, "function"):
|
175 |
tool_call_ids.append(tool_call.id)
|