Spaces:
Running
Running
Update assistants.py
Browse files- 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):
|