diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index c03a66f5..b94c9cbc 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -175,6 +175,7 @@ nav: - SpreadSheetSwarm: "swarms/structs/spreadsheet_swarm.md" - ForestSwarm: "swarms/structs/forest_swarm.md" - SwarmRouter: "swarms/structs/swarm_router.md" + - TaskQueueSwarm: "swarms/structs/taskqueue_swarm.md" - Workflows: - ConcurrentWorkflow: "swarms/structs/concurrentworkflow.md" - SequentialWorkflow: "swarms/structs/sequential_workflow.md" diff --git a/docs/swarms/structs/taskqueue_swarm.md b/docs/swarms/structs/taskqueue_swarm.md index 61f9b56f..c7bd89aa 100644 --- a/docs/swarms/structs/taskqueue_swarm.md +++ b/docs/swarms/structs/taskqueue_swarm.md @@ -51,7 +51,7 @@ Runs the swarm by having agents pick up tasks from the queue. - **Usage Example:** ```python from swarms import Agent, TaskQueueSwarm - from swarms.models import OpenAIChat + from swarms_models import OpenAIChat # Initialize the language model llm = OpenAIChat()