From cc6ad042b0f17c64413cb86f161afabc81c7b2fe Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 5 Jul 2023 22:54:39 -0400 Subject: [PATCH] no omni agent for now --- swarms/swarms.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/swarms/swarms.py b/swarms/swarms.py index 70a5a1a1..89757deb 100644 --- a/swarms/swarms.py +++ b/swarms/swarms.py @@ -1,26 +1,26 @@ from swarms.tools.agent_tools import * from swarms.agents.workers.worker import WorkerNode from swarms.agents.boss.boss_agent import BossNode -from swarms.agents.workers.omni_worker import OmniWorkerAgent +# from swarms.agents.workers.omni_worker import OmniWorkerAgent class Swarms: def __init__(self, openai_api_key, - omni_api_key=None, - omni_api_endpoint=None, - omni_api_type=None + # omni_api_key=None, + # omni_api_endpoint=None, + # omni_api_type=None ): self.openai_api_key = openai_api_key - self.omni_api_key = omni_api_key - self.omni_api_endpoint = omni_api_endpoint - self.omni_api_key = omni_api_type - - if omni_api_key and omni_api_endpoint and omni_api_type: - self.omni_worker_agent = OmniWorkerAgent(omni_api_key, omni_api_endpoint, omni_api_type) - else: - self.omni_worker_agent = None + # self.omni_api_key = omni_api_key + # self.omni_api_endpoint = omni_api_endpoint + # self.omni_api_key = omni_api_type + + # if omni_api_key and omni_api_endpoint and omni_api_type: + # self.omni_worker_agent = OmniWorkerAgent(omni_api_key, omni_api_endpoint, omni_api_type) + # else: + # self.omni_worker_agent = None def initialize_llm(self): # Initialize language model