bstraehle commited on
Commit
52da838
1 Parent(s): 57db60a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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