Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -135,8 +135,8 @@ def execute_tool_call(tool_call):
|
|
135 |
name = tool_call.function.name
|
136 |
args = {}
|
137 |
|
138 |
-
if tool_call.function.arguments:
|
139 |
-
|
140 |
|
141 |
return tools[name](**args)
|
142 |
|
|
|
135 |
name = tool_call.function.name
|
136 |
args = {}
|
137 |
|
138 |
+
#if tool_call.function.arguments:
|
139 |
+
# args = json.loads(tool_call.function.arguments)
|
140 |
|
141 |
return tools[name](**args)
|
142 |
|