backup-branch
Your Name 1 month ago
parent 270d8dfe5b
commit 7b6a298be8

3
.gitignore vendored

@ -8,7 +8,8 @@ audio/
video/ video/
artifacts_three artifacts_three
dataframe/ dataframe/
.ruff_cache
.pytest_cache
static/generated static/generated
runs runs
Financial-Analysis-Agent_state.json Financial-Analysis-Agent_state.json

@ -127,7 +127,7 @@ Before you begin, ensure you have the following installed:
poetry install --extras "desktop" poetry install --extras "desktop"
``` ```
=== "Using Docker" === "Using Docker COMING SOON [DOES NOT WORK YET]"
Docker is an excellent option for creating isolated and reproducible environments, suitable for both development and production. Docker is an excellent option for creating isolated and reproducible environments, suitable for both development and production.

@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry] [tool.poetry]
name = "swarms" name = "swarms"
version = "5.4.8" version = "5.5.0"
description = "Swarms - Pytorch" description = "Swarms - Pytorch"
license = "MIT" license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"] authors = ["Kye Gomez <kye@apac.ai>"]

@ -14,8 +14,6 @@ from loguru import logger
from pydantic import BaseModel from pydantic import BaseModel
from termcolor import colored from termcolor import colored
import agentops
from swarms.memory.base_vectordb import BaseVectorDatabase from swarms.memory.base_vectordb import BaseVectorDatabase
from swarms.models.tiktoken_wrapper import TikTokenizer from swarms.models.tiktoken_wrapper import TikTokenizer
from swarms.prompts.agent_system_prompts import AGENT_SYSTEM_PROMPT_3 from swarms.prompts.agent_system_prompts import AGENT_SYSTEM_PROMPT_3
@ -93,7 +91,6 @@ ToolUsageType = Union[BaseModel, Dict[str, Any]]
# [FEAT][AGENT] # [FEAT][AGENT]
@agentops.track_agent()
class Agent(BaseStructure): class Agent(BaseStructure):
""" """
Agent is the backbone to connect LLMs with tools and long term memory. Agent also provides the ability to Agent is the backbone to connect LLMs with tools and long term memory. Agent also provides the ability to

@ -128,7 +128,13 @@ class MultiAgentCollaboration(BaseSwarm):
*args, *args,
**kwargs, **kwargs,
): ):
super().__init__(*args, **kwargs) super().__init__(
name=name,
description=description,
agents=agents,
*args,
**kwargs,
)
self.name = name self.name = name
self.description = description self.description = description
self.director = director self.director = director

Loading…
Cancel
Save