From f091cc462e8d86afcee44be8aff73d5c59d87501 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 5 Jul 2023 16:04:23 -0400 Subject: [PATCH] clean upg --- swarms/swarms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarms/swarms.py b/swarms/swarms.py index 1f17a961..49255a01 100644 --- a/swarms/swarms.py +++ b/swarms/swarms.py @@ -246,7 +246,7 @@ class Swarms: tools = [ # Tool(name="Search", func=search.run, description="useful for when you need to answer questions about current events"), Tool(name="TODO", func=todo_chain.run, description="useful for when you need to come up with todo lists. Input: an objective to create a todo list for. Output: a todo list for that objective. Please be very clear what the objective is!"), - Tool(name="AUTONOMOUS Worker AGENT", func=self.worker_node.agent.run, 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") + Tool(name="AUTONOMOUS Worker AGENT", func=self.worker_node.run_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") ] suffix = """Question: {task}\n{agent_scratchpad}"""