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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -135,8 +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
- args = tool_call.function.arguments
140
 
141
  return tools[name](**args)
142
 
 
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
+ print(args)
140
 
141
  return tools[name](**args)
142