swarms 7.7.8__py3-none-any.whl → 7.7.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- swarms/__init__.py +0 -1
- swarms/agents/cort_agent.py +206 -0
- swarms/agents/react_agent.py +173 -0
- swarms/communication/base_communication.py +290 -0
- swarms/communication/duckdb_wrap.py +369 -72
- swarms/communication/pulsar_struct.py +691 -0
- swarms/communication/redis_wrap.py +1362 -0
- swarms/communication/sqlite_wrap.py +547 -44
- swarms/prompts/safety_prompt.py +50 -0
- swarms/structs/agent.py +10 -5
- swarms/structs/conversation.py +228 -38
- swarms/structs/council_judge.py +456 -0
- swarms/structs/deep_research_swarm.py +19 -22
- swarms/structs/malt.py +30 -28
- swarms/structs/multi_model_gpu_manager.py +1 -1
- swarms/structs/output_types.py +1 -1
- swarms/structs/swarm_router.py +2 -2
- swarms/tools/mcp_client.py +1 -1
- swarms/tools/py_func_to_openai_func_str.py +2 -2
- swarms/utils/history_output_formatter.py +5 -5
- swarms/utils/try_except_wrapper.py +2 -2
- swarms/utils/xml_utils.py +42 -0
- {swarms-7.7.8.dist-info → swarms-7.7.9.dist-info}/METADATA +4 -3
- {swarms-7.7.8.dist-info → swarms-7.7.9.dist-info}/RECORD +27 -21
- {swarms-7.7.8.dist-info → swarms-7.7.9.dist-info}/WHEEL +1 -1
- swarms/client/__init__.py +0 -15
- swarms/client/main.py +0 -407
- {swarms-7.7.8.dist-info → swarms-7.7.9.dist-info}/LICENSE +0 -0
- {swarms-7.7.8.dist-info → swarms-7.7.9.dist-info}/entry_points.txt +0 -0
@@ -165,7 +165,7 @@ def get_typed_annotation(
|
|
165
165
|
|
166
166
|
|
167
167
|
def get_typed_signature(
|
168
|
-
call: Callable[..., Any]
|
168
|
+
call: Callable[..., Any],
|
169
169
|
) -> inspect.Signature:
|
170
170
|
"""Get the signature of a function with type annotations.
|
171
171
|
|
@@ -497,7 +497,7 @@ def get_load_param_if_needed_function(
|
|
497
497
|
|
498
498
|
|
499
499
|
def load_basemodels_if_needed(
|
500
|
-
func: Callable[..., Any]
|
500
|
+
func: Callable[..., Any],
|
501
501
|
) -> Callable[..., Any]:
|
502
502
|
"""A decorator to load the parameters of a function if they are Pydantic models
|
503
503
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import yaml
|
2
2
|
from swarms.structs.conversation import Conversation
|
3
|
-
|
4
3
|
from typing import Literal, Union, List, Dict, Any
|
4
|
+
from swarms.utils.xml_utils import to_xml_string
|
5
5
|
|
6
6
|
HistoryOutputType = Literal[
|
7
7
|
"list",
|
@@ -14,13 +14,12 @@ HistoryOutputType = Literal[
|
|
14
14
|
"json",
|
15
15
|
"all",
|
16
16
|
"yaml",
|
17
|
+
"xml",
|
17
18
|
# "dict-final",
|
18
19
|
"dict-all-except-first",
|
19
20
|
"str-all-except-first",
|
20
21
|
]
|
21
22
|
|
22
|
-
output_type: HistoryOutputType
|
23
|
-
|
24
23
|
|
25
24
|
def history_output_formatter(
|
26
25
|
conversation: Conversation, type: HistoryOutputType = "list"
|
@@ -39,11 +38,12 @@ def history_output_formatter(
|
|
39
38
|
return conversation.get_str()
|
40
39
|
elif type == "yaml":
|
41
40
|
return yaml.safe_dump(conversation.to_dict(), sort_keys=False)
|
42
|
-
# elif type == "dict-final":
|
43
|
-
# return conversation.to_dict()
|
44
41
|
elif type == "dict-all-except-first":
|
45
42
|
return conversation.return_all_except_first()
|
46
43
|
elif type == "str-all-except-first":
|
47
44
|
return conversation.return_all_except_first_string()
|
45
|
+
elif type == "xml":
|
46
|
+
data = conversation.to_dict()
|
47
|
+
return to_xml_string(data, root_tag="conversation")
|
48
48
|
else:
|
49
49
|
raise ValueError(f"Invalid type: {type}")
|
@@ -21,7 +21,7 @@ def retry(
|
|
21
21
|
"""
|
22
22
|
|
23
23
|
def decorator_retry(
|
24
|
-
func: Callable[..., Any]
|
24
|
+
func: Callable[..., Any],
|
25
25
|
) -> Callable[..., Any]:
|
26
26
|
@wraps(func)
|
27
27
|
def wrapper_retry(*args, **kwargs) -> Any:
|
@@ -48,7 +48,7 @@ def retry(
|
|
48
48
|
|
49
49
|
|
50
50
|
def log_execution_time(
|
51
|
-
func: Callable[..., Any]
|
51
|
+
func: Callable[..., Any],
|
52
52
|
) -> Callable[..., Any]:
|
53
53
|
"""
|
54
54
|
A decorator that logs the execution time of a function.
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import xml.etree.ElementTree as ET
|
2
|
+
from typing import Any
|
3
|
+
|
4
|
+
|
5
|
+
def dict_to_xml(tag: str, d: dict) -> ET.Element:
|
6
|
+
"""Convert a dictionary to an XML Element."""
|
7
|
+
elem = ET.Element(tag)
|
8
|
+
for key, val in d.items():
|
9
|
+
child = ET.Element(str(key))
|
10
|
+
if isinstance(val, dict):
|
11
|
+
child.append(dict_to_xml(str(key), val))
|
12
|
+
elif isinstance(val, list):
|
13
|
+
for item in val:
|
14
|
+
if isinstance(item, dict):
|
15
|
+
child.append(dict_to_xml(str(key), item))
|
16
|
+
else:
|
17
|
+
item_elem = ET.Element("item")
|
18
|
+
item_elem.text = str(item)
|
19
|
+
child.append(item_elem)
|
20
|
+
else:
|
21
|
+
child.text = str(val)
|
22
|
+
elem.append(child)
|
23
|
+
return elem
|
24
|
+
|
25
|
+
|
26
|
+
def to_xml_string(data: Any, root_tag: str = "root") -> str:
|
27
|
+
"""Convert a dict or list to an XML string."""
|
28
|
+
if isinstance(data, dict):
|
29
|
+
elem = dict_to_xml(root_tag, data)
|
30
|
+
elif isinstance(data, list):
|
31
|
+
elem = ET.Element(root_tag)
|
32
|
+
for item in data:
|
33
|
+
if isinstance(item, dict):
|
34
|
+
elem.append(dict_to_xml("item", item))
|
35
|
+
else:
|
36
|
+
item_elem = ET.Element("item")
|
37
|
+
item_elem.text = str(item)
|
38
|
+
elem.append(item_elem)
|
39
|
+
else:
|
40
|
+
elem = ET.Element(root_tag)
|
41
|
+
elem.text = str(data)
|
42
|
+
return ET.tostring(elem, encoding="unicode")
|
@@ -1,8 +1,7 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.3
|
2
2
|
Name: swarms
|
3
|
-
Version: 7.7.
|
3
|
+
Version: 7.7.9
|
4
4
|
Summary: Swarms - TGSC
|
5
|
-
Home-page: https://github.com/kyegomez/swarms
|
6
5
|
License: MIT
|
7
6
|
Keywords: artificial intelligence,deep learning,optimizers,Prompt Engineering,swarms,agents,llms,transformers,multi-agent,swarms of agents,Enterprise-Grade Agents,Production-Grade Agents,Agents,Multi-Grade-Agents,Swarms,Transformers,LLMs,Prompt Engineering,Agents,Generative Agents,Generative AI,Agent Marketplace,Agent Store,quant,finance,algorithmic trading,portfolio optimization,risk management,financial modeling,machine learning for finance,natural language processing for finance
|
8
7
|
Author: Kye Gomez
|
@@ -15,6 +14,7 @@ Classifier: Programming Language :: Python :: 3
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.10
|
16
15
|
Classifier: Programming Language :: Python :: 3.11
|
17
16
|
Classifier: Programming Language :: Python :: 3.12
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
18
18
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
19
19
|
Requires-Dist: PyYAML
|
20
20
|
Requires-Dist: aiofiles
|
@@ -38,6 +38,7 @@ Requires-Dist: tenacity
|
|
38
38
|
Requires-Dist: toml
|
39
39
|
Requires-Dist: torch
|
40
40
|
Project-URL: Documentation, https://docs.swarms.world
|
41
|
+
Project-URL: Homepage, https://github.com/kyegomez/swarms
|
41
42
|
Project-URL: Repository, https://github.com/kyegomez/swarms
|
42
43
|
Description-Content-Type: text/markdown
|
43
44
|
|
@@ -1,15 +1,17 @@
|
|
1
|
-
swarms/__init__.py,sha256=
|
1
|
+
swarms/__init__.py,sha256=0tc5msh0Sfk6V_KIwen_4p2kwkHBLjLxZVoAsFE-b80,513
|
2
2
|
swarms/agents/__init__.py,sha256=hEp16SuPhlcLX84HAlaK_9RNf6JB0JQ27YTrTnvak04,1171
|
3
3
|
swarms/agents/agent_judge.py,sha256=xT242CX5mV64cq2B-3RGkuEHiV5aD04P_Zq8_s64iMQ,3967
|
4
4
|
swarms/agents/agent_print.py,sha256=SXqWA2ZzXwRFdv8hkuYwOPMTasvaGTG6U29413qRCAA,918
|
5
5
|
swarms/agents/ape_agent.py,sha256=1kz_65LJgjLlY1yv2WLBeVMs7sP9BgEVWk0w1f67YLc,1563
|
6
6
|
swarms/agents/auto_generate_swarm_config.py,sha256=7eJ873xS7PJmyreMaa5Uub8qFu-qIinuyMuogB2Ehjc,8474
|
7
7
|
swarms/agents/consistency_agent.py,sha256=41h0yvnjzmKsE8-q4UsN0ckHP7WWmB5E_z64ec9QaJM,7414
|
8
|
+
swarms/agents/cort_agent.py,sha256=cTorrAcdI46Zvf4RfTouVl4J2vdPSur5CHDWTTMgujU,8002
|
8
9
|
swarms/agents/create_agents_from_yaml.py,sha256=PgFIpuYZehxEl79BAK6TolSZwydDQzvGMAKhLsHuBbc,13008
|
9
10
|
swarms/agents/flexion_agent.py,sha256=Agjq1rvTzboE8lT26-mcjp0tKQEjlUj_eVYsFjLIvN0,21468
|
10
11
|
swarms/agents/gkp_agent.py,sha256=5Jms3zHQ2qwJ6-PHDh9X-cFtAlH4dSUoDgRqN-xZzog,21067
|
11
12
|
swarms/agents/i_agent.py,sha256=_eKUcgPfiVqQpF5Q-Sv1tT-JZxIeNl9Fp7OrnjVUtz8,12276
|
12
13
|
swarms/agents/openai_assistant.py,sha256=mTSEtj26J0mc5pCeWrmMY0EXzTRYQfyfw_BtOqtcCHc,11044
|
14
|
+
swarms/agents/react_agent.py,sha256=yM8lQoRsqJZicqtmgBrC7RHv0aKEb5oZHh4q5aAA_xs,5804
|
13
15
|
swarms/agents/reasoning_agents.py,sha256=tF7K710lj-VZQVc2VjqxMWGLNGMsEWRarXcJnXz1wkc,5741
|
14
16
|
swarms/agents/reasoning_duo.py,sha256=s9SnXoproQaBrShLtiruGJituy8sJlZJATc5Vy_FdwI,3875
|
15
17
|
swarms/agents/tool_agent.py,sha256=G7rhBACsHsGUMT4H9eF5aY7e3Gx-5jOmJkhCF1jm9mU,5087
|
@@ -19,11 +21,12 @@ swarms/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
21
|
swarms/cli/create_agent.py,sha256=o2V6EDQN477MxUOm0wShlr4uNyPpPzqpJhGM5tiuWUU,1128
|
20
22
|
swarms/cli/main.py,sha256=T9YsCrNIzvbQA8h5qlke-TbRP498Wu6R_KkAxRiabvs,15319
|
21
23
|
swarms/cli/onboarding_process.py,sha256=3-2LKoLhjnaPbX9iiasqXPZZpqmwm-ZrXawH88M4BIU,6940
|
22
|
-
swarms/client/__init__.py,sha256=VASeCEYoZskTU3NOw5tQ22uc2_7gyK0oLsxG_WB20ys,268
|
23
|
-
swarms/client/main.py,sha256=f-RpvfKfRK2AaapkyPN2ihXJvIGN4JWB_A7pJu4WyiU,13735
|
24
24
|
swarms/communication/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
25
|
-
swarms/communication/
|
26
|
-
swarms/communication/
|
25
|
+
swarms/communication/base_communication.py,sha256=0aQavvEQv24MHvulZ2mGVmQ9hkqROSIW608wfo8-P9s,8559
|
26
|
+
swarms/communication/duckdb_wrap.py,sha256=cdVG6-V5R4xV_503yFO--QtIfkx35hkzppK8MTJEeNY,44549
|
27
|
+
swarms/communication/pulsar_struct.py,sha256=hsP-CA88KB578_3Gc4kOF3z5DILckZxjlcz7xSzjxXY,23758
|
28
|
+
swarms/communication/redis_wrap.py,sha256=f-NvlnJQ1PhUpZLDamNrvQ4rl0ykof8Di5H8ZQ_IFbA,47331
|
29
|
+
swarms/communication/sqlite_wrap.py,sha256=PD7p5bdTjK6a7yqdlAJtgduO9WdAb_wJpQlCSH6gbG0,43604
|
27
30
|
swarms/prompts/__init__.py,sha256=ZFcghAs4b0Rsjcc_DIFssiztZub5tJ66rxmJD2_tXpQ,747
|
28
31
|
swarms/prompts/accountant_swarm_prompts.py,sha256=swceN1B0fZCOedd3-y3gjNOHDmR-3H5YK17ytp7tTDM,11320
|
29
32
|
swarms/prompts/ag_prompt.py,sha256=mMeqC84SMNrCjQcBeejroSXLuF_wWrVRebHU1MrEQko,4577
|
@@ -68,6 +71,7 @@ swarms/prompts/react.py,sha256=nPuaIgKD2xV41y0PR06mrkC82GnWk4mw0apkrcYS_cY,2960
|
|
68
71
|
swarms/prompts/react_base_prompt.py,sha256=vN82wlxwj7c5PzIXMDcXg17950D2UZDDLaaRhGiAbQA,1928
|
69
72
|
swarms/prompts/reasoning_prompt.py,sha256=tnuJWK9VHer0IvgwjUXCM5ixMn-yfozQL0KgKQKciu4,1113
|
70
73
|
swarms/prompts/refiner_agent_prompt.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
74
|
+
swarms/prompts/safety_prompt.py,sha256=PsBr_dG1YoCQQCCWmwI2qQA8q8U84mNfn2L5tkM0BX4,2913
|
71
75
|
swarms/prompts/sales.py,sha256=tIr46slbRA8KxoOERE83DX10cGvwafzocpR00KcG_tM,5126
|
72
76
|
swarms/prompts/sales_prompts.py,sha256=GxBdYT3Nxz2ouD-d1dDVZavFbidpJwi6z8QqTv-BX8s,5013
|
73
77
|
swarms/prompts/security_team.py,sha256=mg5PP-IBD6Bb81l8VxJQMZIZ_PEAN7KMfHhnMy6qtKY,2679
|
@@ -87,7 +91,7 @@ swarms/schemas/__init__.py,sha256=AZ7BZE3bLabA5_m83jbELB6SaOMHx1MhMy9EeUODBqs,10
|
|
87
91
|
swarms/schemas/agent_step_schemas.py,sha256=a14gb58vR0xOwB_fwSJQbN6yb9HddEaT30E6hUrzEQA,2573
|
88
92
|
swarms/schemas/base_schemas.py,sha256=UvBLVWg2qRen4tK5GJz50v42SiX95EQ5qK7hfyAHTEU,3267
|
89
93
|
swarms/structs/__init__.py,sha256=jfvyqtA5WMpjYgvmngBqijwOhjLhRkjWAucPGe91THU,4051
|
90
|
-
swarms/structs/agent.py,sha256=
|
94
|
+
swarms/structs/agent.py,sha256=43N4gCWEects0BTej-CtPIsLdKEL4vQnz3CRJjXZ4xI,98663
|
91
95
|
swarms/structs/agent_builder.py,sha256=tYNpfO4_8cgfMHfgA5DAOWffHnt70p6CLt59esqfVCY,12133
|
92
96
|
swarms/structs/agent_registry.py,sha256=il507cO1NF-d4ChyANVLuWrN8bXsEAi8_7bLJ_sTU6A,12112
|
93
97
|
swarms/structs/agent_roles.py,sha256=8XEw6RjOOZelaZaWt4gXaYQm5WMLEhSO7W6Z8sQjmFg,582
|
@@ -99,10 +103,11 @@ swarms/structs/base_swarm.py,sha256=LSGJDPJdyUCcK6698mNtjxoC1OU3s_J2NxC2k_ccGUs,
|
|
99
103
|
swarms/structs/base_workflow.py,sha256=DTfFwX3AdFYxACDYwUDqhsbcDZnITlg5TeEYyxmJBCc,11414
|
100
104
|
swarms/structs/concat.py,sha256=utezSxNyh1mIwXgdf8-dJ803NDPyEy79WE8zJHuooGk,732
|
101
105
|
swarms/structs/concurrent_workflow.py,sha256=OqXI-X-9a0hG2a7aLzobwd7CVF2ez0rgLj3ZHqri5bg,12952
|
102
|
-
swarms/structs/conversation.py,sha256=
|
106
|
+
swarms/structs/conversation.py,sha256=6Wq93O0F-ZoSy4QjtZbNHI-UP1ym5k4QHQ-nJ37I1ro,27162
|
107
|
+
swarms/structs/council_judge.py,sha256=QkV7xVJRJxkGDKjzFiVGgjuNxm-jFsYzApUQnI8Bqoc,16567
|
103
108
|
swarms/structs/csv_to_agent.py,sha256=ug9JqQFPguXeU9JQpSUXuVtOpHYdJhlpKJUJBovo694,9443
|
104
109
|
swarms/structs/de_hallucination_swarm.py,sha256=9cC0rSSXGwYu6SRDwpeMbCcQ40C1WI1RE9SNapKRLOQ,10309
|
105
|
-
swarms/structs/deep_research_swarm.py,sha256=
|
110
|
+
swarms/structs/deep_research_swarm.py,sha256=3f8T_t-gIg5wbfU2JrMmZ9Ob4Qn153zXdzt5ZpydmXk,16777
|
106
111
|
swarms/structs/dynamic_conversational_swarm.py,sha256=n_d1jDCzBwiGb0QjJpW_MlXxqEkhGEhC1ttaebH7f3Q,8098
|
107
112
|
swarms/structs/graph_workflow.py,sha256=TAaUG_J3898hhghPOp0WEAV3Zf0in6s48ZSVbSTX-vQ,8629
|
108
113
|
swarms/structs/groupchat.py,sha256=jjH0BqU9Nrd_3jl9QzrcvbSce527SFpUaepawaRiw2o,15391
|
@@ -110,7 +115,7 @@ swarms/structs/hiearchical_swarm.py,sha256=2x3InS4HJg4T9Y195l_ANTGu6DYcllqCdJcR3
|
|
110
115
|
swarms/structs/hybrid_hiearchical_peer_swarm.py,sha256=D1iBtNNee_mxPoOWS5WGTqcci5FQKtt38mW-J42GvfM,9494
|
111
116
|
swarms/structs/ma_utils.py,sha256=FxMNCmeSpYEczZOxK0gpgn5a50CJTc1USmRHCqvxP54,3091
|
112
117
|
swarms/structs/majority_voting.py,sha256=F_t_MOC3YCRyMw5N6qKdFThpaXZxwixRw592Ku5Uhto,10122
|
113
|
-
swarms/structs/malt.py,sha256=
|
118
|
+
swarms/structs/malt.py,sha256=Z0aTeu0TCjQhmdNOyVaeedWGo6uxNLIWobjuZ1a5GfQ,19596
|
114
119
|
swarms/structs/matrix_swarm.py,sha256=qHuhOYrTyOv6ujHMe8PrQT-h-WmaCPCfX4ghv5L8UFI,9765
|
115
120
|
swarms/structs/meme_agent_persona_generator.py,sha256=b3kKlumhsV4KV88-GS3CUnGO1UfKTU3fT8SAMj0ZlwQ,10645
|
116
121
|
swarms/structs/mixture_of_agents.py,sha256=Ix2YTdrzISPQJLrQ5vrZtYOpZwIYDx0vUaNmvBwDDVM,7762
|
@@ -118,9 +123,9 @@ swarms/structs/model_router.py,sha256=V5pZHYlxSmCvAA2Gsns7LaCz8dXtRi7pCvb-oLGHYI
|
|
118
123
|
swarms/structs/multi_agent_collab.py,sha256=odh2NQRR23LidsphCxUfAke369lDdgL__w3Xovu9jkA,7731
|
119
124
|
swarms/structs/multi_agent_exec.py,sha256=Gxwr9mHADX3n29pdxor-dQDnKPSNdnicpCxBLmPwnLg,14344
|
120
125
|
swarms/structs/multi_agent_router.py,sha256=21PfswEuxMHqlWDBCyritj9UuHTShYVQRaK0o23eia8,10999
|
121
|
-
swarms/structs/multi_model_gpu_manager.py,sha256=
|
126
|
+
swarms/structs/multi_model_gpu_manager.py,sha256=gHC6MmVia4etMD6RlpEdbqZtV7ng4f-6jVMH0Zrt8y4,47356
|
122
127
|
swarms/structs/omni_agent_types.py,sha256=RdKLfZ-lXDJrEa0aJT_Rfx9TypJQo8SISqKz4fnLkAk,230
|
123
|
-
swarms/structs/output_types.py,sha256=
|
128
|
+
swarms/structs/output_types.py,sha256=gbZfmogjcnx0jDWZecSX2yPuNXHkgWU-feHeQ1fuvmM,191
|
124
129
|
swarms/structs/rearrange.py,sha256=5u7HwTVVH414w9rhEQvLdltW1ACHjgwn-zS8-8JEXmA,22576
|
125
130
|
swarms/structs/round_robin.py,sha256=MGk623KiN9uSxTMG6MY_BIAkvEDh1RPwyl5Min7GLOU,7573
|
126
131
|
swarms/structs/safe_loading.py,sha256=gmYX8G9TsvAIp6OCvREBZt5mwSFc-p-t1rSnDBfhEmE,7124
|
@@ -132,7 +137,7 @@ swarms/structs/swarm_eval.py,sha256=148E2R2zaCmt_LZYx15nmdFjybXHiQ2CZbl6pk77jNs,
|
|
132
137
|
swarms/structs/swarm_id_generator.py,sha256=Wly7AtGM9e6VgzhYmfg8_gSOdxAdsOvWHJFK81cpQNQ,68
|
133
138
|
swarms/structs/swarm_matcher.py,sha256=E2KwHHEJxmW-UfTeMPWZ6VCmYdQ_I9_fwrfJbxD02GY,23322
|
134
139
|
swarms/structs/swarm_registry.py,sha256=P0XRrqp1qBNyt0BycqPQljUzKv9jClaQMhtaBMinhYg,5578
|
135
|
-
swarms/structs/swarm_router.py,sha256=
|
140
|
+
swarms/structs/swarm_router.py,sha256=DfLS7HwmqFJ7hJLgkCNT7qwIQM4Hk6YB7askKNLTdNE,28503
|
136
141
|
swarms/structs/swarming_architectures.py,sha256=q2XrY2lOqFhVckA8oin65Dz1VPUe-lfbEJHlP1Z8aTE,28278
|
137
142
|
swarms/structs/tree_swarm.py,sha256=AnIxrt0KhWxAQN8uGjfCcOq-XCmsuTJiH8Ex4mXy8V8,12500
|
138
143
|
swarms/structs/utils.py,sha256=Mo6wHQYOB8baWZUKnAJN5Dsgubpo81umNwJIEDitb2A,1873
|
@@ -149,11 +154,11 @@ swarms/tools/function_util.py,sha256=DAnAPO0Ik__TAqL7IJzFmkukHnhpsW_QtALl3yj837g
|
|
149
154
|
swarms/tools/json_former.py,sha256=4ugLQ_EZpghhuhFsVKsy-ehin9K64pqVE2gLU7BTO_M,14376
|
150
155
|
swarms/tools/json_utils.py,sha256=WKMZjcJ0Vt6lgIjiTBenslcfjgRSLX4UWs4uDkKFMQI,1316
|
151
156
|
swarms/tools/logits_processor.py,sha256=NifZZ5w9yemWGJAJ5nHFrphtZVX1XlyesgvYZTxK1GM,2965
|
152
|
-
swarms/tools/mcp_client.py,sha256=
|
157
|
+
swarms/tools/mcp_client.py,sha256=U_RQIxT2xXKTLvoS0AiJCOrQfCT_BK4P60-ggCOwAjE,7198
|
153
158
|
swarms/tools/mcp_integration.py,sha256=ZxVj5T6qBy9K9YTpXmDn2LiA4Q-Wj0TTuF3SnI_Jiu0,11725
|
154
159
|
swarms/tools/openai_func_calling_schema_pydantic.py,sha256=6BAH9kuaVTvJIbjgSSJ5XvHhWvWszPxgarkfUuE5Ads,978
|
155
160
|
swarms/tools/openai_tool_creator_decorator.py,sha256=SYZjHnARjWvnH9cBdj7Kc_Yy1muvNxMT3RQz8KkA2SE,2578
|
156
|
-
swarms/tools/py_func_to_openai_func_str.py,sha256=
|
161
|
+
swarms/tools/py_func_to_openai_func_str.py,sha256=AsYgSOF_PkDgnuTaQrbeyZLU1azEZXSSc2fNmtahOtI,15712
|
157
162
|
swarms/tools/pydantic_to_json.py,sha256=-tjUBwKVnKUWWtEGfYGLEfJbIOCrSVF-p1e6kT4_Geg,3850
|
158
163
|
swarms/tools/tool_parse_exec.py,sha256=FW5XzkuNEs2YrroybjKChbCzDvaCs7ypknSDpYhfkd4,8717
|
159
164
|
swarms/tools/tool_registry.py,sha256=ULZmIKBTx9XRCJRD9hwXfY3iQw9v94arw-VV6jcuftY,7992
|
@@ -169,7 +174,7 @@ swarms/utils/file_processing.py,sha256=QjQCIPTcwicQlfy656BXBYpIzMR0s2343E7ftnok5
|
|
169
174
|
swarms/utils/formatter.py,sha256=e15FsyTIIkyRreMUApkkZCzJC1Sm67w5Zd6EQcUkMwA,4533
|
170
175
|
swarms/utils/function_caller_model.py,sha256=ZfgCMzOizNnuZipYLclTziECNHszH9p8RQcUq7VNr4Q,4156
|
171
176
|
swarms/utils/generate_keys.py,sha256=i0Ewm1LCTLaqp7qm7B7MgNolaI9IZyJcxNVRLUZklt4,1700
|
172
|
-
swarms/utils/history_output_formatter.py,sha256=
|
177
|
+
swarms/utils/history_output_formatter.py,sha256=d4J-TF63ENCjsQXU36MGR2pvx59y0qBFuBlOrJt_K8M,1487
|
173
178
|
swarms/utils/litellm_tokenizer.py,sha256=0AAj4NffBe2eHii_3_5SpQAhSiBbunJR8MzaBTIm7hg,484
|
174
179
|
swarms/utils/litellm_wrapper.py,sha256=xdRRj2MvO-4RtfD1SHOCKoidX1UTKRj__I7CvWxQV3o,15145
|
175
180
|
swarms/utils/loguru_logger.py,sha256=hIoSK3NHLpe7eAmjHRURrEYzNXYC2gbR7_Vv63Yaydk,685
|
@@ -177,12 +182,13 @@ swarms/utils/markdown_message.py,sha256=RThHNnMf6ZLTlYK4vKn3yuewChaxWAYAWb0Xm_pT
|
|
177
182
|
swarms/utils/parse_code.py,sha256=XFOLymbdP3HzMZuqsj7pwUyisvUmTm0ev9iThR_ambI,1987
|
178
183
|
swarms/utils/pdf_to_text.py,sha256=nkySOS_sJ4Jf4RP5SoDpMB5WfjJ_GGc5z8gJfn2cxOM,1311
|
179
184
|
swarms/utils/str_to_dict.py,sha256=T3Jsdjz87WIlkSo7jAW6BB80sv0Ns49WT1qXlOrdEoE,874
|
180
|
-
swarms/utils/try_except_wrapper.py,sha256=
|
185
|
+
swarms/utils/try_except_wrapper.py,sha256=uvDZDZJcH986EF0Ej6zZBLcqHJ58NHizPsAH5olrE7Q,3919
|
181
186
|
swarms/utils/visualizer.py,sha256=0ylohEk62MAS6iPRaDOV03m9qo2k5J56tWlKJk_46p4,16927
|
182
187
|
swarms/utils/vllm_wrapper.py,sha256=OIGnU9Vf81vE_hul1FK-xEhChFK8fxqZX6-fhQeW22c,4987
|
183
188
|
swarms/utils/wrapper_clusterop.py,sha256=PMSCVM7ZT1vgj1D_MYAe835RR3SMLYxA-si2JS02yNQ,4220
|
184
|
-
swarms
|
185
|
-
swarms-7.7.
|
186
|
-
swarms-7.7.
|
187
|
-
swarms-7.7.
|
188
|
-
swarms-7.7.
|
189
|
+
swarms/utils/xml_utils.py,sha256=j8byUa56VT7V4e18pL8UBftLdyWKsUHbid1KDxnAWBo,1416
|
190
|
+
swarms-7.7.9.dist-info/LICENSE,sha256=jwRtEmTWjLrEsvFB6QFdYs2cEeZPRMdj-UMOFkPF8_0,11363
|
191
|
+
swarms-7.7.9.dist-info/METADATA,sha256=yB7CpcxnWc-LHHimV-rkBgMQITl6_nYKvwnAf94wudI,94968
|
192
|
+
swarms-7.7.9.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
193
|
+
swarms-7.7.9.dist-info/entry_points.txt,sha256=2K0rTtfO1X1WaO-waJlXIKw5Voa_EpAL_yU0HXE2Jgc,47
|
194
|
+
swarms-7.7.9.dist-info/RECORD,,
|
swarms/client/__init__.py
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
from swarms.client.main import (
|
2
|
-
SwarmsAPIClient,
|
3
|
-
AgentInput,
|
4
|
-
SwarmRequest,
|
5
|
-
SwarmAPIError,
|
6
|
-
SwarmAuthenticationError,
|
7
|
-
)
|
8
|
-
|
9
|
-
__all__ = [
|
10
|
-
"SwarmsAPIClient",
|
11
|
-
"AgentInput",
|
12
|
-
"SwarmRequest",
|
13
|
-
"SwarmAPIError",
|
14
|
-
"SwarmAuthenticationError",
|
15
|
-
]
|