bstraehle commited on
Commit
f8cc6ca
1 Parent(s): d1b4bc3

Update assistants.py

Browse files
Files changed (1) hide show
  1. assistants.py +1 -0
assistants.py CHANGED
@@ -169,6 +169,7 @@ def execute_tool_calls(run_steps):
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
  if hasattr(tool_call, "function"):
174
  tool_call_ids.append(tool_call.id)
 
169
  if hasattr(step_details, "tool_calls"):
170
  for tool_call in step_details.tool_calls:
171
  show_json("tool_call", tool_call)
172
+ gr.Info(f"Calling tool {tool_call}")
173
 
174
  if hasattr(tool_call, "function"):
175
  tool_call_ids.append(tool_call.id)