swarms 7.8.1__py3-none-any.whl → 7.8.3__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/structs/swarm_router.py +7 -1
- swarms/tools/base_tool.py +0 -1
- {swarms-7.8.1.dist-info → swarms-7.8.3.dist-info}/METADATA +1 -2
- {swarms-7.8.1.dist-info → swarms-7.8.3.dist-info}/RECORD +7 -7
- {swarms-7.8.1.dist-info → swarms-7.8.3.dist-info}/LICENSE +0 -0
- {swarms-7.8.1.dist-info → swarms-7.8.3.dist-info}/WHEEL +0 -0
- {swarms-7.8.1.dist-info → swarms-7.8.3.dist-info}/entry_points.txt +0 -0
swarms/structs/swarm_router.py
CHANGED
@@ -614,7 +614,13 @@ class SwarmRouter:
|
|
614
614
|
Exception: If an error occurs during task execution.
|
615
615
|
"""
|
616
616
|
try:
|
617
|
-
return self._run(
|
617
|
+
return self._run(
|
618
|
+
task=task,
|
619
|
+
img=img,
|
620
|
+
model_response=model_response,
|
621
|
+
*args,
|
622
|
+
**kwargs,
|
623
|
+
)
|
618
624
|
except Exception as e:
|
619
625
|
logger.error(f"Error executing task on swarm: {str(e)}")
|
620
626
|
raise
|
swarms/tools/base_tool.py
CHANGED
@@ -2,7 +2,6 @@ import json
|
|
2
2
|
from typing import Any, Callable, Dict, List, Optional, Union
|
3
3
|
from concurrent.futures import ThreadPoolExecutor, as_completed
|
4
4
|
|
5
|
-
# from litellm.utils import function_to_dict
|
6
5
|
from pydantic import BaseModel, Field
|
7
6
|
|
8
7
|
from swarms.tools.func_to_str import function_to_str, functions_to_str
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: swarms
|
3
|
-
Version: 7.8.
|
3
|
+
Version: 7.8.3
|
4
4
|
Summary: Swarms - TGSC
|
5
5
|
License: MIT
|
6
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
|
@@ -27,7 +27,6 @@ Requires-Dist: loguru
|
|
27
27
|
Requires-Dist: mcp
|
28
28
|
Requires-Dist: networkx
|
29
29
|
Requires-Dist: numpy
|
30
|
-
Requires-Dist: numpydoc
|
31
30
|
Requires-Dist: psutil
|
32
31
|
Requires-Dist: pydantic
|
33
32
|
Requires-Dist: pypdf (==5.1.0)
|
@@ -146,7 +146,7 @@ swarms/structs/swarm_eval.py,sha256=148E2R2zaCmt_LZYx15nmdFjybXHiQ2CZbl6pk77jNs,
|
|
146
146
|
swarms/structs/swarm_id_generator.py,sha256=Wly7AtGM9e6VgzhYmfg8_gSOdxAdsOvWHJFK81cpQNQ,68
|
147
147
|
swarms/structs/swarm_matcher.py,sha256=E2KwHHEJxmW-UfTeMPWZ6VCmYdQ_I9_fwrfJbxD02GY,23322
|
148
148
|
swarms/structs/swarm_registry.py,sha256=P0XRrqp1qBNyt0BycqPQljUzKv9jClaQMhtaBMinhYg,5578
|
149
|
-
swarms/structs/swarm_router.py,sha256=
|
149
|
+
swarms/structs/swarm_router.py,sha256=5zMhcWiNTTdQKH1D0oi8zsR0vH3AMESeNtsT57ArPgY,30673
|
150
150
|
swarms/structs/swarming_architectures.py,sha256=q2XrY2lOqFhVckA8oin65Dz1VPUe-lfbEJHlP1Z8aTE,28278
|
151
151
|
swarms/structs/tree_swarm.py,sha256=AnIxrt0KhWxAQN8uGjfCcOq-XCmsuTJiH8Ex4mXy8V8,12500
|
152
152
|
swarms/structs/utils.py,sha256=Mo6wHQYOB8baWZUKnAJN5Dsgubpo81umNwJIEDitb2A,1873
|
@@ -155,7 +155,7 @@ swarms/telemetry/__init__.py,sha256=yibtkHEbQRPUv6ir1FhDHlAO_3nwKJPQH4LjzBC2AuQ,
|
|
155
155
|
swarms/telemetry/bootup.py,sha256=0leCNCy5rhzL19EsOsqHWSDI85KVcWO6_5hLDS0h4sY,1155
|
156
156
|
swarms/telemetry/main.py,sha256=8FxivorvclSvhgfU03cHFktaRgRNV1UXCMi0VV8-U60,11248
|
157
157
|
swarms/tools/__init__.py,sha256=tyGQpcfrosMx06fdV9h_8_9WB-1vfT-aAjZufiTXyPQ,1838
|
158
|
-
swarms/tools/base_tool.py,sha256=
|
158
|
+
swarms/tools/base_tool.py,sha256=kyCteIJxk38jE0upttSQA1iJ1k6GEjebYwhl8WmUxGw,107020
|
159
159
|
swarms/tools/cohere_func_call_schema.py,sha256=XJ6_yBMXCrV9KjN7v9Bk1iFj69TRlGIWYKsUTA1oGiQ,600
|
160
160
|
swarms/tools/create_agent_tool.py,sha256=YsiBgrR9gkn2Jenu_mIFXOMJCWb_Hdw4gBYPQN5HEQk,3467
|
161
161
|
swarms/tools/func_calling_utils.py,sha256=PhHHZRHN-vRHA_h21ELRjXIhSRIrsT4UhU5-1Bhy-iU,3542
|
@@ -198,8 +198,8 @@ swarms/utils/visualizer.py,sha256=0ylohEk62MAS6iPRaDOV03m9qo2k5J56tWlKJk_46p4,16
|
|
198
198
|
swarms/utils/vllm_wrapper.py,sha256=OIGnU9Vf81vE_hul1FK-xEhChFK8fxqZX6-fhQeW22c,4987
|
199
199
|
swarms/utils/wrapper_clusterop.py,sha256=PMSCVM7ZT1vgj1D_MYAe835RR3SMLYxA-si2JS02yNQ,4220
|
200
200
|
swarms/utils/xml_utils.py,sha256=j8byUa56VT7V4e18pL8UBftLdyWKsUHbid1KDxnAWBo,1416
|
201
|
-
swarms-7.8.
|
202
|
-
swarms-7.8.
|
203
|
-
swarms-7.8.
|
204
|
-
swarms-7.8.
|
205
|
-
swarms-7.8.
|
201
|
+
swarms-7.8.3.dist-info/LICENSE,sha256=jwRtEmTWjLrEsvFB6QFdYs2cEeZPRMdj-UMOFkPF8_0,11363
|
202
|
+
swarms-7.8.3.dist-info/METADATA,sha256=-MUnJFhqdfzWFjfdGiu6hIRq8-zHGJbthF6sdjNHcBE,94945
|
203
|
+
swarms-7.8.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
204
|
+
swarms-7.8.3.dist-info/entry_points.txt,sha256=2K0rTtfO1X1WaO-waJlXIKw5Voa_EpAL_yU0HXE2Jgc,47
|
205
|
+
swarms-7.8.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|