david-clifford commited on
Commit
75b2982
·
verified ·
1 Parent(s): af576e7

Revert change to available_tools use of .name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def available_tools()-> str:
39
  None
40
  """
41
  try:
42
- result = [f.__name__ for f in tool_list]
43
  return result
44
  except Exception as e:
45
  return "I do not have a list of tools that I can share."
 
39
  None
40
  """
41
  try:
42
+ result = [f.name for f in tool_list]
43
  return result
44
  except Exception as e:
45
  return "I do not have a list of tools that I can share."