Skip to content

Commit 4e2ce70

Browse files
author
Kye
committed
CLEANUP: swarms.agents, removed unused files
Former-commit-id: 07bcd22
1 parent bf9a747 commit 4e2ce70

35 files changed

+108
-3976
lines changed

code_quality.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ black --experimental-string-processing swarms/
1313

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

1919
# YAPF

playground/models/revgpt.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

swarms/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
# disable tensorflow warnings
77

88
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "2"
9-
from swarms.agents import *
10-
from swarms.swarms import *
11-
from swarms.structs import *
12-
from swarms.models import *
13-
from swarms.chunkers import *
14-
from swarms.workers import *
9+
from swarms.agents import * # noqa: E402, F403
10+
from swarms.swarms import * # noqa: E402, F403
11+
from swarms.structs import * # noqa: E402, F403
12+
from swarms.models import * # noqa: E402, F403
13+
from swarms.chunkers import * # noqa: E402, F403
14+
from swarms.workers import * # noqa: E402, F403

swarms/agents/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
# from swarms.agents.omni_modal_agent import OmniModalAgent
2-
from swarms.agents.hf_agents import HFAgent
32
from swarms.agents.message import Message
43

54
# from swarms.agents.stream_response import stream
65
from swarms.agents.base import AbstractAgent
76
from swarms.agents.registry import Registry
87

98
# from swarms.agents.idea_to_image_agent import Idea2Image
10-
from swarms.agents.simple_agent import SimpleAgent
119

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

1412
__all__ = [
1513
# "OmniModalAgent",
16-
"HFAgent",
1714
"Message",
1815
"AbstractAgent",
1916
"Registry",
20-
# "Idea2Image",
21-
"SimpleAgent",
2217
]

0 commit comments

Comments
 (0)