Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -182,7 +182,7 @@ def list_run_steps(client, thread, run):
|
|
182 |
print(step_details)
|
183 |
print(step_details.message_creation)
|
184 |
|
185 |
-
if hasattr(
|
186 |
#if not step_details.tool_calls:
|
187 |
break
|
188 |
|
|
|
182 |
print(step_details)
|
183 |
print(step_details.message_creation)
|
184 |
|
185 |
+
if not hasattr(step_details, "tool_calls"):
|
186 |
#if not step_details.tool_calls:
|
187 |
break
|
188 |
|