Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -181,11 +181,17 @@ def list_run_steps(client, thread, run):
|
|
181 |
if not hasattr(step_details, "tool_calls"):
|
182 |
break
|
183 |
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
tools = {tool.__name__: tool for tool in get_current_agent().tools}
|
185 |
|
186 |
-
print(tools[0])
|
187 |
-
print(tools[1])
|
188 |
-
print(tools[2])
|
189 |
|
190 |
for tool_call in step_details.tool_calls:
|
191 |
result = execute_tool_call(tools, tool_call)
|
|
|
181 |
if not hasattr(step_details, "tool_calls"):
|
182 |
break
|
183 |
|
184 |
+
print("xxxxx")
|
185 |
+
print(get_current_agent())
|
186 |
+
print("xxxxx")
|
187 |
+
print(get_current_agent().tools)
|
188 |
+
print("xxxxx")
|
189 |
+
|
190 |
tools = {tool.__name__: tool for tool in get_current_agent().tools}
|
191 |
|
192 |
+
#print(tools[0])
|
193 |
+
#print(tools[1])
|
194 |
+
#print(tools[2])
|
195 |
|
196 |
for tool_call in step_details.tool_calls:
|
197 |
result = execute_tool_call(tools, tool_call)
|