Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -174,10 +174,10 @@ def list_run_steps(client, thread, run):
|
|
174 |
step_details = step.step_details
|
175 |
show_json("step_details", step_details)
|
176 |
|
177 |
-
if not
|
178 |
break
|
179 |
|
180 |
-
for tool_call in
|
181 |
result = execute_tool_call(tool_call)
|
182 |
|
183 |
return run_steps
|
|
|
174 |
step_details = step.step_details
|
175 |
show_json("step_details", step_details)
|
176 |
|
177 |
+
if not step_details.tool_calls:
|
178 |
break
|
179 |
|
180 |
+
for tool_call in step_details.tool_calls:
|
181 |
result = execute_tool_call(tool_call)
|
182 |
|
183 |
return run_steps
|