Spaces:
Running
Running
Update assistants.py
Browse files- assistants.py +1 -1
assistants.py
CHANGED
@@ -174,7 +174,7 @@ def execute_tool_calls(run_steps):
|
|
174 |
tool_call_ids.append(tool_call.id)
|
175 |
tool_call_results.append(execute_tool_call(step, tool_call))
|
176 |
|
177 |
-
if
|
178 |
gr.Info(f"Function: {tool_call.function.name}, args: {tool_call.function.arguments}", duration=30)
|
179 |
else:
|
180 |
gr.Info(f"Tool: {tool_call.type}", duration=30)
|
|
|
174 |
tool_call_ids.append(tool_call.id)
|
175 |
tool_call_results.append(execute_tool_call(step, tool_call))
|
176 |
|
177 |
+
if tool_call.function.output != None:
|
178 |
gr.Info(f"Function: {tool_call.function.name}, args: {tool_call.function.arguments}", duration=30)
|
179 |
else:
|
180 |
gr.Info(f"Tool: {tool_call.type}", duration=30)
|