Skip to content

Commit

Permalink
CLEANUP: swarms.agents, removed unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
kyegomez committed Nov 11, 2023
1 parent bdc7337 commit 07bcd22
Show file tree
Hide file tree
Showing 35 changed files with 108 additions and 3,976 deletions.
2 changes: 1 addition & 1 deletion code_quality.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ black --experimental-string-processing swarms/

# Run ruff on the 'swarms' directory.
# Add any additional flags if needed according to your version of ruff.
ruff swarms/
x
#--unsafe_fix

# YAPF
Expand Down
29 changes: 0 additions & 29 deletions playground/models/revgpt.py

This file was deleted.

12 changes: 6 additions & 6 deletions swarms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# disable tensorflow warnings

os.environ["TF_CPP_MIN_LOG_LEVEL"] = "2"
from swarms.agents import *
from swarms.swarms import *
from swarms.structs import *
from swarms.models import *
from swarms.chunkers import *
from swarms.workers import *
from swarms.agents import * # noqa: E402, F403
from swarms.swarms import * # noqa: E402, F403
from swarms.structs import * # noqa: E402, F403
from swarms.models import * # noqa: E402, F403
from swarms.chunkers import * # noqa: E402, F403
from swarms.workers import * # noqa: E402, F403
5 changes: 0 additions & 5 deletions swarms/agents/__init__.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
# from swarms.agents.omni_modal_agent import OmniModalAgent
from swarms.agents.hf_agents import HFAgent
from swarms.agents.message import Message

# from swarms.agents.stream_response import stream
from swarms.agents.base import AbstractAgent
from swarms.agents.registry import Registry

# from swarms.agents.idea_to_image_agent import Idea2Image
from swarms.agents.simple_agent import SimpleAgent

"""Agent Infrastructure, models, memory, utils, tools"""

__all__ = [
# "OmniModalAgent",
"HFAgent",
"Message",
"AbstractAgent",
"Registry",
# "Idea2Image",
"SimpleAgent",
]

0 comments on commit 07bcd22

Please sign in to comment.