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