From 2e6608159501fa39e9ae9111061f07459bc432e8 Mon Sep 17 00:00:00 2001 From: Kye Date: Mon, 10 Jul 2023 21:55:54 -0400 Subject: [PATCH] ultra node Former-commit-id: 0151dd0668ca7d697c1c8270477110e1c704863d --- swarms/__init__.py | 3 ++- swarms/agents/workers/__init__.py | 2 ++ swarms/agents/workers/worker_ultranode.py | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/swarms/__init__.py b/swarms/__init__.py index 2c730324..5b5e4280 100644 --- a/swarms/__init__.py +++ b/swarms/__init__.py @@ -1,3 +1,4 @@ # from swarms import Swarms, swarm from swarms.swarms import Swarms, swarm -from swarms.agents import worker_node \ No newline at end of file +from swarms.agents import worker_node +from swarms.agents.workers.worker_ultranode import UltraNode \ No newline at end of file diff --git a/swarms/agents/workers/__init__.py b/swarms/agents/workers/__init__.py index 91ea82ab..eab37564 100644 --- a/swarms/agents/workers/__init__.py +++ b/swarms/agents/workers/__init__.py @@ -1 +1,3 @@ from .worker_agent import worker_node + +from .worker_ultranode import UltraNode diff --git a/swarms/agents/workers/worker_ultranode.py b/swarms/agents/workers/worker_ultranode.py index 39fe1864..08230671 100644 --- a/swarms/agents/workers/worker_ultranode.py +++ b/swarms/agents/workers/worker_ultranode.py @@ -68,7 +68,7 @@ class UltraNode: # The prompt is not needed here either return self.execute_task() -from worker_node import UltraNode +# from worker_node import UltraNode -node = UltraNode('objective') -result = node.execute() +# node = UltraNode('objective') +# result = node.execute()