feat : tool description proprety

This commit is contained in:
martin legrand
2025-05-04 19:29:31 +02:00
parent 7afb79117b
commit 5949540007
3 changed files with 11 additions and 2 deletions
+1 -2
View File
@@ -41,8 +41,7 @@ class McpAgent(Agent):
"""
Expands the prompt with the tools available.
"""
tools_name = self.get_tools_name()
tools_str = ", ".join(tools_name)
tools_str = self.get_tools_description()
prompt += f"""
You can use the following tools and MCPs:
{tools_str}