diff --git a/superagi/agent/tool_builder.py b/superagi/agent/tool_builder.py index 0d35f5591..633ac65ee 100644 --- a/superagi/agent/tool_builder.py +++ b/superagi/agent/tool_builder.py @@ -81,7 +81,7 @@ def build_tool(self, tool: Tool): return new_object def set_default_params_tool(self, tool, agent_config, agent_execution_config, model_api_key: str, - resource_summary: str = "",memory=None): + resource_summary: str = ""): """ Set the default parameters for the tools. @@ -113,7 +113,7 @@ def set_default_params_tool(self, tool, agent_config, agent_execution_config, mo agent_execution_id=self.agent_execution_id) if hasattr(tool, 'tool_response_manager'): tool.tool_response_manager = ToolResponseQueryManager(session=self.session, - agent_execution_id=self.agent_execution_id,memory=memory) + agent_execution_id=self.agent_execution_id) if tool.name == "QueryResourceTool": tool.description = tool.description.replace("{summary}", resource_summary)