From eb27ac8762b57db82533eb0d14a174c130eff8d6 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 5 Jul 2023 23:33:32 -0400 Subject: [PATCH] type valudation for auto ap --- swarms/agents/workers/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarms/agents/workers/worker.py b/swarms/agents/workers/worker.py index 3cf4d653..3797c28c 100644 --- a/swarms/agents/workers/worker.py +++ b/swarms/agents/workers/worker.py @@ -26,7 +26,7 @@ class WorkerNode(BaseTool): agent: Any = None - def __init__(self, llm, tools, vectorstore): + def __init__(self, llm: Any, tools: List[Any], vectorstore: Any): logging.info("Initializing WorkerNode") super().__init__() self.llm = llm