david-clifford commited on
Commit
005a7d2
·
verified ·
1 Parent(s): 7d327a8

Update available_tools using the info stored in the @tool decorator

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def available_tools()-> str: #it's import to specify the return type
33
  Args:
34
  None
35
  """
36
- return [f.__name__ for f in tool_list]
37
 
38
 
39
  @tool
 
33
  Args:
34
  None
35
  """
36
+ return [f.name for f in tool_list]
37
 
38
 
39
  @tool