bstraehle commited on
Commit
e27e6d7
·
verified ·
1 Parent(s): 8d80ad9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- #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:
 
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: