Spaces:
Running
Running
Update app.py
Browse files
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)
|