bstraehle commited on
Commit
9d4dfec
1 Parent(s): abd9445

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 step.tool_calls:
178
  break
179
 
180
- for tool_call in step.tool_calls:
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