From dcece653ffa3e60e344847be12cbd247b0e7df41 Mon Sep 17 00:00:00 2001 From: User Date: Thu, 11 Jul 2024 16:56:42 +0300 Subject: [PATCH] fix to_crewai_tool method --- motleycrew/tools/tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motleycrew/tools/tool.py b/motleycrew/tools/tool.py index b62f0d28..c9c562c5 100644 --- a/motleycrew/tools/tool.py +++ b/motleycrew/tools/tool.py @@ -193,7 +193,7 @@ def to_crewai_tool(self) -> Crewai__BaseTool: ensure_module_is_installed("crewai_tools") crewai_tool = Crewai__Tool( name=self.tool.name, - description=self.tooldescription, + description=self.tool.description, func=self.tool._run, args_schema=self.tool.args_schema, )