From cc5b3d8bfdc2b104d05bea835b00d2a809c80f91 Mon Sep 17 00:00:00 2001 From: Steve-Dusty Date: Mon, 17 Nov 2025 21:25:21 -0800 Subject: [PATCH] removed execution type: execute-swarms-router.py bc not handled --- docs/swarms/structs/auto_swarm_builder.md | 2 -- swarms/structs/auto_swarm_builder.py | 1 - 2 files changed, 3 deletions(-) diff --git a/docs/swarms/structs/auto_swarm_builder.md b/docs/swarms/structs/auto_swarm_builder.md index b06a7e95..f278991c 100644 --- a/docs/swarms/structs/auto_swarm_builder.md +++ b/docs/swarms/structs/auto_swarm_builder.md @@ -40,7 +40,6 @@ The `execution_type` parameter controls how the AutoSwarmBuilder operates: | Execution Type | Description | |----------------------------------|-----------------------------------------------------------| | **"return-agents"** | Creates and returns agent specifications as a dictionary (default) | -| **"execute-swarm-router"** | Executes the swarm router with the created agents | | **"return-swarm-router-config"** | Returns the swarm router configuration as a dictionary | | **"return-agents-objects"** | Returns agent objects created from specifications | @@ -602,7 +601,6 @@ for agent in agents: - Use `verbose=True` during development for debugging - Choose the right `execution_type` for your use case: - Use `"return-agents"` for getting agent specifications as dictionary (default) - - Use `"execute-swarm-router"` for executing the swarm router with created agents - Use `"return-swarm-router-config"` for analyzing swarm architecture - Use `"return-agents-objects"` for getting agent objects created from specifications - Set `max_tokens` appropriately based on expected response length diff --git a/swarms/structs/auto_swarm_builder.py b/swarms/structs/auto_swarm_builder.py index 0a9bd689..514cb79c 100644 --- a/swarms/structs/auto_swarm_builder.py +++ b/swarms/structs/auto_swarm_builder.py @@ -16,7 +16,6 @@ load_dotenv() execution_types = [ "return-agents", - "execute-swarm-router", "return-swarm-router-config", "return-agents-objects", ]