From 3fbb202ddf3203cb67859d6d10c463ae257acf4e Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 5 Jul 2023 18:04:29 -0400 Subject: [PATCH] worker node error --- 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 1ba8427b..7f711a03 100644 --- a/swarms/agents/workers/worker_agent.py +++ b/swarms/agents/workers/worker_agent.py @@ -12,10 +12,10 @@ from pydantic import Field class WorkerNode(BaseTool): """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 """ name = "WorkerNode" - description = "A worker node that can perform complex tasks" + 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 __init__(self, llm, tools, vectorstore): - super().__init__(llm=llm, tools=tools, vectorstore=vectorstore) + super().__init__() self.llm = llm self.tools = tools self.vectorstore = vectorstore