bstraehle commited on
Commit
b35fe3a
1 Parent(s): 2917597

Update assistants.py

Browse files
Files changed (1) hide show
  1. assistants.py +3 -1
assistants.py CHANGED
@@ -165,12 +165,14 @@ def execute_tool_calls(run_steps):
165
  step_details = step.step_details
166
  run_step_details.append(step_details)
167
  show_json("step_details", step_details)
 
 
168
 
169
  if hasattr(step_details, "tool_calls"):
170
  for tool_call in step_details.tool_calls:
171
  show_json("tool_call", tool_call)
172
 
173
- gr.Info(f"Calling tool {tool_call}")
174
 
175
  if hasattr(tool_call, "function"):
176
  tool_call_ids.append(tool_call.id)
 
165
  step_details = step.step_details
166
  run_step_details.append(step_details)
167
  show_json("step_details", step_details)
168
+
169
+ gr.Info(f"Step details {step_details}")
170
 
171
  if hasattr(step_details, "tool_calls"):
172
  for tool_call in step_details.tool_calls:
173
  show_json("tool_call", tool_call)
174
 
175
+ #gr.Info(f"Calling tool {tool_call}")
176
 
177
  if hasattr(tool_call, "function"):
178
  tool_call_ids.append(tool_call.id)