From 904348aaf34f0c55698d8796d5620a0e0b1fec13 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 5 Jul 2023 21:28:15 -0400 Subject: [PATCH] clean up --- .../workers/{multi_modal => multi_modal_agents}/__init__.py | 2 +- .../{multi_modal => multi_modal_agents}/multi_modal_agent.py | 0 .../workers/{multi_modal => multi_modal_agents}/omni_agent.py | 0 swarms/agents/workers/omni_agent.py | 2 +- swarms/agents/workers/visual_agent.py | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename swarms/agents/workers/{multi_modal => multi_modal_agents}/__init__.py (60%) rename swarms/agents/workers/{multi_modal => multi_modal_agents}/multi_modal_agent.py (100%) rename swarms/agents/workers/{multi_modal => multi_modal_agents}/omni_agent.py (100%) diff --git a/swarms/agents/workers/multi_modal/__init__.py b/swarms/agents/workers/multi_modal_agents/__init__.py similarity index 60% rename from swarms/agents/workers/multi_modal/__init__.py rename to swarms/agents/workers/multi_modal_agents/__init__.py index 0b9e7c03..d773833b 100644 --- a/swarms/agents/workers/multi_modal/__init__.py +++ b/swarms/agents/workers/multi_modal_agents/__init__.py @@ -1,2 +1,2 @@ # from swarms.agents.workers.multi_modal.multi_modal_agent import MultiModalVisualAgent ---we need to fix file path errors -from swarms.agents.workers.multi_modal.omni_agent import chat_huggingface \ No newline at end of file +from swarms.agents.workers.multi_modal_agents.omni_agent import chat_huggingface \ No newline at end of file diff --git a/swarms/agents/workers/multi_modal/multi_modal_agent.py b/swarms/agents/workers/multi_modal_agents/multi_modal_agent.py similarity index 100% rename from swarms/agents/workers/multi_modal/multi_modal_agent.py rename to swarms/agents/workers/multi_modal_agents/multi_modal_agent.py diff --git a/swarms/agents/workers/multi_modal/omni_agent.py b/swarms/agents/workers/multi_modal_agents/omni_agent.py similarity index 100% rename from swarms/agents/workers/multi_modal/omni_agent.py rename to swarms/agents/workers/multi_modal_agents/omni_agent.py diff --git a/swarms/agents/workers/omni_agent.py b/swarms/agents/workers/omni_agent.py index 80df78bb..0ec82034 100644 --- a/swarms/agents/workers/omni_agent.py +++ b/swarms/agents/workers/omni_agent.py @@ -1,6 +1,6 @@ #boss node -> worker agent -> omni agent [worker of the worker] from langchain.tools import tool -from swarms.agents.workers.multi_modal.omni_agent import chat_huggingface +from swarms.agents.workers.multi_modal_agents.omni_agent import chat_huggingface class OmniWorkerAgent: def __init__(self, api_key, api_endpoint, api_type): diff --git a/swarms/agents/workers/visual_agent.py b/swarms/agents/workers/visual_agent.py index 5585df52..a87d7d28 100644 --- a/swarms/agents/workers/visual_agent.py +++ b/swarms/agents/workers/visual_agent.py @@ -1,4 +1,4 @@ -from swarms.agents.workers.multi_modal.multi_modal_agent import MultiModalVisualAgent +from swarms.agents.workers.multi_modal_agents.multi_modal_agent import MultiModalVisualAgent from langchain.tools import BaseTool class MultiModalVisualAgentTool(BaseTool):