Spaces:
Running
Running
Update assistants.py
Browse files- assistants.py +1 -1
assistants.py
CHANGED
@@ -174,7 +174,7 @@ def execute_tool_calls(run_steps):
|
|
174 |
func_name = ""
|
175 |
|
176 |
if hasattr(tool_call, "function"):
|
177 |
-
if tool_call.output == None:
|
178 |
func_name = tool_call.function.name
|
179 |
tool_call_ids.append(tool_call.id)
|
180 |
tool_call_results.append(execute_tool_call(tool_call))
|
|
|
174 |
func_name = ""
|
175 |
|
176 |
if hasattr(tool_call, "function"):
|
177 |
+
if tool_call.function.output == None:
|
178 |
func_name = tool_call.function.name
|
179 |
tool_call_ids.append(tool_call.id)
|
180 |
tool_call_results.append(execute_tool_call(tool_call))
|