From 9c1ed56b614b182a4f9372a82797dfd4365751e7 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 5 Jul 2023 23:19:19 -0400 Subject: [PATCH] types --- swarms/agents/workers/worker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/swarms/agents/workers/worker.py b/swarms/agents/workers/worker.py index 0e874230..83d0f26d 100644 --- a/swarms/agents/workers/worker.py +++ b/swarms/agents/workers/worker.py @@ -13,6 +13,9 @@ from langchain.memory.chat_message_histories import FileChatMessageHistory class WorkerNode(BaseTool): name = "WorkerNode" description = "A worker node that can perform complex tasks" + llm: ChatOpenAI # add this line + tools: List[Tool] + vectorstore: VectorStore def __init__(self, llm, tools, vectorstore): super().__init__()