From dacc028429bb337443b8dfca86e91c3fad6b92f1 Mon Sep 17 00:00:00 2001 From: Kye Date: Tue, 18 Jul 2023 11:17:45 -0400 Subject: [PATCH] cleaan up Former-commit-id: 3d7bc2fb1db430a91c8d8c37480bf76c712f0d8d --- swarms/agents/workers/WorkerNode.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/swarms/agents/workers/WorkerNode.py b/swarms/agents/workers/WorkerNode.py index 6efb65d7..10716083 100644 --- a/swarms/agents/workers/WorkerNode.py +++ b/swarms/agents/workers/WorkerNode.py @@ -13,6 +13,7 @@ import logging from pydantic import BaseModel, Extra logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') +from swarms.tools.main import Terminal class WorkerNode: """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""" @@ -107,6 +108,7 @@ class WorkerNodeInitializer: ReadFileTool(root_dir=ROOT_DIR), process_csv, WebpageQATool(qa_chain=load_qa_with_sources_chain(llm)), + Terminal, ] if not tools: logging.error("Tools are not initialized")