From 2af7fab21c652e5cf09e7dee0d4859f719612087 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 5 Jul 2023 18:02:48 -0400 Subject: [PATCH] commit error --- swarms/agents/workers/worker_agent.py | 2 +- swarms/swarms.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/swarms/agents/workers/worker_agent.py b/swarms/agents/workers/worker_agent.py index 64f38886..ab41ad8d 100644 --- a/swarms/agents/workers/worker_agent.py +++ b/swarms/agents/workers/worker_agent.py @@ -18,7 +18,7 @@ class WorkerNode(BaseTool): vectorstore: VectorStore = Field(description="Vector store") def __init__(self, llm, tools, vectorstore): - super().__init__() + super().__init__(llm=llm, tools=tools, vectorstore=vectorstore) self.llm = llm self.tools = tools self.vectorstore = vectorstore diff --git a/swarms/swarms.py b/swarms/swarms.py index 9f11031d..21d50b6a 100644 --- a/swarms/swarms.py +++ b/swarms/swarms.py @@ -33,7 +33,7 @@ class Swarms: def initialize_worker_node(self, llm, tools, vectorstore): worker_node = WorkerNode(llm=llm, tools=tools, vectorstore=vectorstore) - worker_node.create_agent(ai_name="AI Assistant", ai_role="Assistant", human_in_the_loop=True, search_kwargs={}) + worker_node.create_agent(ai_name="AI Assistant", ai_role="Assistant", human_in_the_loop=False, search_kwargs={}) return worker_node def initialize_boss_node(self, llm, vectorstore):