bstraehle commited on
Commit
4530ef9
1 Parent(s): 969c666

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -132,7 +132,9 @@ def get_run_steps(client, thread, run):
132
  return run_steps
133
 
134
  def execute_tool_call(tool_call):
 
135
  name = tool_call.function.name
 
136
  args = json.loads(tool_call.function.arguments)
137
 
138
  return tools[name](**args)
 
132
  return run_steps
133
 
134
  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)