Revert change to available_tools use of .name
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def available_tools()-> str:
|
|
| 39 |
None
|
| 40 |
"""
|
| 41 |
try:
|
| 42 |
-
result = [f.
|
| 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."
|