bstraehle commited on
Commit
abd9445
1 Parent(s): 0cf7f1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- # TODO: execute_tool_call
 
 
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