Spaces:
Running
Running
Update assistants.py
Browse files- assistants.py +2 -2
assistants.py
CHANGED
@@ -169,11 +169,11 @@ def execute_tool_calls(run_steps):
|
|
169 |
show_json("tool_call", tool_call)
|
170 |
|
171 |
if hasattr(tool_call, "function"):
|
172 |
-
gr.Info(f"Custom tool call: {
|
173 |
tool_call_ids.append(tool_call.id)
|
174 |
tool_call_results.append(execute_tool_call(tool_call))
|
175 |
else:
|
176 |
-
gr.Info(f"Built-in tool call: {
|
177 |
|
178 |
return tool_call_ids, tool_call_results
|
179 |
|
|
|
169 |
show_json("tool_call", tool_call)
|
170 |
|
171 |
if hasattr(tool_call, "function"):
|
172 |
+
gr.Info(f"Custom tool call: {tool_call}")
|
173 |
tool_call_ids.append(tool_call.id)
|
174 |
tool_call_results.append(execute_tool_call(tool_call))
|
175 |
else:
|
176 |
+
gr.Info(f"Built-in tool call: {tool_call}")
|
177 |
|
178 |
return tool_call_ids, tool_call_results
|
179 |
|