From ba7a031e7b897e7fca198b47f8f5caabc4de6c4f Mon Sep 17 00:00:00 2001 From: Kye Date: Sat, 8 Jul 2023 15:07:08 -0400 Subject: [PATCH] revert --- swarms/swarms.py | 41 ++++++++++++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/swarms/swarms.py b/swarms/swarms.py index 1cca8c55..dfaa2b7b 100644 --- a/swarms/swarms.py +++ b/swarms/swarms.py @@ -1,18 +1,14 @@ -import logging - from swarms.tools.agent_tools import * -from swarms.agents.workers.worker import WorkerNode, worker_tool +from swarms.agents.workers.worker import WorkerNode from swarms.agents.boss.boss_agent import BossNode -# from swarms.tools.main import RequestsGet - -logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s') - - - - - +# from swarms.agents.workers.omni_worker import OmniWorkerAgent +# from swarms.tools.main import RequestsGet, ExitConversation +# visual agent +from swarms.agents.workers.worker import worker_tool +import logging +logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s') class Swarms: def __init__(self, openai_api_key): @@ -103,6 +99,29 @@ class Swarms: + + + + + + + + + + + + + + + + + + + + + + + # usage def swarm(api_key, objective): swarms = Swarms(api_key)