Spaces:
Running
Running
Update assistants.py
Browse files- assistants.py +2 -2
assistants.py
CHANGED
@@ -175,9 +175,9 @@ def execute_tool_calls(run_steps):
|
|
175 |
tool_call_results.append(execute_tool_call(step, tool_call))
|
176 |
|
177 |
if tool_call.function.output:
|
178 |
-
gr.Info(f"Execute function: {tool_call.function.name}, args: {tool_call.function.arguments}", duration=30)
|
179 |
else:
|
180 |
-
gr.Info(f"Generate
|
181 |
else:
|
182 |
gr.Info(f"Tool: {tool_call.type}", duration=30)
|
183 |
|
|
|
175 |
tool_call_results.append(execute_tool_call(step, tool_call))
|
176 |
|
177 |
if tool_call.function.output:
|
178 |
+
gr.Info(f"Execute function call: {tool_call.function.name}, args: {tool_call.function.arguments}", duration=30)
|
179 |
else:
|
180 |
+
gr.Info(f"Generate function call: {tool_call.function.name}, args: {tool_call.function.arguments}", duration=30)
|
181 |
else:
|
182 |
gr.Info(f"Tool: {tool_call.type}", duration=30)
|
183 |
|