Spaces:
Running
Running
Update assistants.py
Browse files- assistants.py +2 -4
assistants.py
CHANGED
@@ -160,10 +160,8 @@ def execute_tool_calls(run_steps):
|
|
160 |
|
161 |
for step in run_steps.data:
|
162 |
step_details = step.step_details
|
163 |
-
|
164 |
-
|
165 |
-
gr.Info(get_json("usage", step.usage), duration=30)
|
166 |
-
#gr.Info(str, duration=30)
|
167 |
|
168 |
if hasattr(step_details, "tool_calls"):
|
169 |
for tool_call in step_details.tool_calls:
|
|
|
160 |
|
161 |
for step in run_steps.data:
|
162 |
step_details = step.step_details
|
163 |
+
print(get_json("step_details", step_details))
|
164 |
+
gr.Info(f"{step_details.type} {get_json("usage", step.usage)}", duration=30)
|
|
|
|
|
165 |
|
166 |
if hasattr(step_details, "tool_calls"):
|
167 |
for tool_call in step_details.tool_calls:
|