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