diff --git a/README.md b/README.md index 497bc9e1..d12dd880 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,13 @@ Run example in Collab: is located inside the text! ```python import os @@ -235,7 +244,7 @@ workflow.run() ### `ModelParallelizer` -- Concurrent Execution of Multiple Models: The ModelParallelizer allows you to run multiple models concurrently, comparing their outputs. This feature enables you to easily compare the performance and results of different models, helping you make informed decisions about which model to use for your specific task. +Concurrent Execution of Multiple Models: The ModelParallelizer allows you to run multiple models concurrently, comparing their outputs. This feature enables you to easily compare the performance and results of different models, helping you make informed decisions about which model to use for your specific task. - Plug-and-Play Integration: The structure provides a seamless integration with various models, including OpenAIChat, Anthropic, Mixtral, and Gemini. You can easily plug in any of these models and start using them without the need for extensive modifications or setup. diff --git a/pyproject.toml b/pyproject.toml index 79ac36fc..22f09946 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "swarms" -version = "3.7.3" +version = "3.7.5" description = "Swarms - Pytorch" license = "MIT" authors = ["Kye Gomez "] diff --git a/swarms/agents/omni_modal_agent.py b/swarms/agents/omni_modal_agent.py index 6a22c477..7a75cd8b 100644 --- a/swarms/agents/omni_modal_agent.py +++ b/swarms/agents/omni_modal_agent.py @@ -1,7 +1,5 @@ -from typing import Dict, List from langchain.base_language import BaseLanguageModel -from langchain.tools.base import BaseTool from langchain_experimental.autonomous_agents.hugginggpt.repsonse_generator import ( load_response_generator, ) @@ -16,33 +14,6 @@ from transformers import load_tool from swarms.agents.message import Message -class Step: - def __init__( - self, - task: str, - id: int, - dep: List[int], - args: Dict[str, str], - tool: BaseTool, - ): - self.task = task - self.id = id - self.dep = dep - self.args = args - self.tool = tool - - -class Plan: - def __init__(self, steps: List[Step]): - self.steps = steps - - def __str__(self) -> str: - return str([str(step) for step in self.steps]) - - def __repr(self) -> str: - return str(self) - - class OmniModalAgent: """ OmniModalAgent