swarms 7.7.3__py3-none-any.whl → 7.7.4__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/hiearchical_swarm.py +1 -1
- swarms/structs/hybrid_hiearchical_peer_swarm.py +1 -1
- swarms/structs/multi_model_gpu_manager.py +1447 -0
- swarms/structs/swarm_arange.py +18 -15
- {swarms-7.7.3.dist-info → swarms-7.7.4.dist-info}/METADATA +1 -1
- {swarms-7.7.3.dist-info → swarms-7.7.4.dist-info}/RECORD +9 -8
- {swarms-7.7.3.dist-info → swarms-7.7.4.dist-info}/LICENSE +0 -0
- {swarms-7.7.3.dist-info → swarms-7.7.4.dist-info}/WHEEL +0 -0
- {swarms-7.7.3.dist-info → swarms-7.7.4.dist-info}/entry_points.txt +0 -0
@@ -251,7 +251,7 @@ class HierarchicalSwarm(BaseSwarm):
|
|
251
251
|
director: Optional[Union[Agent, Any]] = None,
|
252
252
|
agents: List[Union[Agent, Any]] = None,
|
253
253
|
max_loops: int = 1,
|
254
|
-
output_type: OutputType = "dict",
|
254
|
+
output_type: OutputType = "dict-all-except-first",
|
255
255
|
director_model_name: str = "gpt-4o",
|
256
256
|
teams: Optional[List[TeamUnit]] = None,
|
257
257
|
inter_agent_loops: int = 1,
|
@@ -121,7 +121,7 @@ class HybridHierarchicalClusterSwarm:
|
|
121
121
|
self.router_agent = Agent(
|
122
122
|
agent_name="Router Agent",
|
123
123
|
agent_description="A router agent that routes tasks to the appropriate swarms.",
|
124
|
-
system_prompt=f"{router_system_prompt}\n\n{get_swarms_info()}",
|
124
|
+
system_prompt=f"{router_system_prompt}\n\n{get_swarms_info(swarms=self.swarms)}",
|
125
125
|
tools_list_dictionary=tools,
|
126
126
|
model_name=router_agent_model_name,
|
127
127
|
max_loops=1,
|