From 7d612b6046c6d5cd8c2bb5a05cb97004fdae9a63 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 5 Jul 2023 19:06:57 -0400 Subject: [PATCH] base tool test --- swarms/agents/workers/worker_agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarms/agents/workers/worker_agent.py b/swarms/agents/workers/worker_agent.py index 3eb867dc..83f8776e 100644 --- a/swarms/agents/workers/worker_agent.py +++ b/swarms/agents/workers/worker_agent.py @@ -1,5 +1,5 @@ from swarms.tools.agent_tools import * -from langchain.tools import BaseTool, tool +from langchain.tools import BaseTool from typing import Optional, Type from langchain.callbacks.manager import ( AsyncCallbackManagerForToolRun, @@ -26,7 +26,7 @@ class WorkerNode(BaseTool): ) self.agent.chain.verbose = True - @tool + # @tool # name="Worker AutoBot Agent", # description="Useful for when you need to spawn an autonomous agent instance as a worker to accomplish complex tasks, it can search the internet or spawn child multi-modality models to process and generate images and text or audio and so on", def _run(