bstraehle commited on
Commit
0d6f576
1 Parent(s): 16d66ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -136,7 +136,8 @@ def get_run_step_details(run_steps):
136
  if hasattr(step_details, "tool_calls"):
137
  for tool_call in step_details.tool_calls:
138
  show_json("tool_call", tool_call)
139
- #result = execute_tool_call(tool_call)
 
140
  ###
141
 
142
  return run_step_details
 
136
  if hasattr(step_details, "tool_calls"):
137
  for tool_call in step_details.tool_calls:
138
  show_json("tool_call", tool_call)
139
+ if hasattr(tool_call, "function"):
140
+ result = execute_tool_call(tool_call)
141
  ###
142
 
143
  return run_step_details