Fix non-specific-start
Browse files
app.py
CHANGED
|
@@ -25,12 +25,12 @@ def non_specific_start()-> str:
|
|
| 25 |
None
|
| 26 |
"""
|
| 27 |
try:
|
| 28 |
-
|
|
|
|
| 29 |
return result
|
| 30 |
except Exception as e:
|
| 31 |
return "Welcome to this basic agent interface."
|
| 32 |
|
| 33 |
-
|
| 34 |
@tool
|
| 35 |
def available_tools()-> str:
|
| 36 |
"""A tool that takes no arguments but returns a list of tools available to the agent.
|
|
|
|
| 25 |
None
|
| 26 |
"""
|
| 27 |
try:
|
| 28 |
+
tools_string = ", ".join([f for f in available_tools()])
|
| 29 |
+
result = "Welcome to this basic agent interface. Here are some of the tools I have access to" + tools_string
|
| 30 |
return result
|
| 31 |
except Exception as e:
|
| 32 |
return "Welcome to this basic agent interface."
|
| 33 |
|
|
|
|
| 34 |
@tool
|
| 35 |
def available_tools()-> str:
|
| 36 |
"""A tool that takes no arguments but returns a list of tools available to the agent.
|