Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -181,7 +181,7 @@ def list_run_steps(client, thread, run):
|
|
181 |
if not hasattr(step_details, "tool_calls"):
|
182 |
break
|
183 |
|
184 |
-
|
185 |
tools = {tool.__name__: tool for tool in get_current_agent().tools}
|
186 |
|
187 |
for tool_call in step_details.tool_calls:
|
|
|
181 |
if not hasattr(step_details, "tool_calls"):
|
182 |
break
|
183 |
|
184 |
+
tool_schemas = [function_to_schema(tool) for tool in current_agent.tools]
|
185 |
tools = {tool.__name__: tool for tool in get_current_agent().tools}
|
186 |
|
187 |
for tool_call in step_details.tool_calls:
|