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

Update assistants.py

Browse files
Files changed (1) hide show
  1. assistants.py +2 -0
assistants.py CHANGED
@@ -152,6 +152,8 @@ def execute_tool_call(tool_call):
152
  except json.JSONDecodeError as e:
153
  print(f"Error parsing function name '{name}' function args '{args_json}': {e}")
154
 
 
 
155
  return tools[name](**args)
156
 
157
  def execute_tool_calls(run_steps):
 
152
  except json.JSONDecodeError as e:
153
  print(f"Error parsing function name '{name}' function args '{args_json}': {e}")
154
 
155
+ gr.Info(f"Calling function {name} with args {args}")
156
+
157
  return tools[name](**args)
158
 
159
  def execute_tool_calls(run_steps):