Spaces:
Running
Running
Update assistants.py
Browse files- assistants.py +1 -1
assistants.py
CHANGED
@@ -163,7 +163,7 @@ def execute_tool_calls(run_steps):
|
|
163 |
print(get_json("step_details", step_details))
|
164 |
|
165 |
if step.usage:
|
166 |
-
gr.Info(f"Step: {
|
167 |
|
168 |
if hasattr(step_details, "tool_calls"):
|
169 |
for tool_call in step_details.tool_calls:
|
|
|
163 |
print(get_json("step_details", step_details))
|
164 |
|
165 |
if step.usage:
|
166 |
+
gr.Info(f"Step: {step_details.type} {get_json('usage', step.usage)}", duration=30)
|
167 |
|
168 |
if hasattr(step_details, "tool_calls"):
|
169 |
for tool_call in step_details.tool_calls:
|