Update available_tools using the info stored in the @tool decorator
Browse files
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.
|
| 37 |
|
| 38 |
|
| 39 |
@tool
|
|
|
|
| 33 |
Args:
|
| 34 |
None
|
| 35 |
"""
|
| 36 |
+
return [f.name for f in tool_list]
|
| 37 |
|
| 38 |
|
| 39 |
@tool
|