Skip to content

Commit 86303b2

Browse files
committed
fix incorrect docs links
1 parent 532e716 commit 86303b2

5 files changed

Lines changed: 26 additions & 26 deletions

File tree

CONTRIBUTING.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ ANTHROPIC_API_KEY=""
118118
GROQ_API_KEY=""
119119
```
120120

121-
- [Learn more about environment configuration here](https://docs.swarms.world/swarms/install/env/)
121+
- [Learn more about environment configuration here](https://docs.swarms.world/environment-setup)
122122

123123
### Project Structure
124124

@@ -298,14 +298,14 @@ We have several areas where contributions are particularly welcome.
298298

299299
- **Goal**: Provide new multi-agent orchestration methods.
300300
- **Current Architectures**:
301-
- [SequentialWorkflow](https://docs.swarms.world/swarms/structs/sequential_workflow/)
302-
- [AgentRearrange](https://docs.swarms.world/swarms/structs/agent_rearrange/)
303-
- [MixtureOfAgents](https://docs.swarms.world/swarms/structs/moa/)
304-
- [SpreadSheetSwarm](https://docs.swarms.world/swarms/structs/spreadsheet_swarm/)
305-
- [ForestSwarm](https://docs.swarms.world/swarms/structs/forest_swarm/)
306-
- [GraphWorkflow](https://docs.swarms.world/swarms/structs/graph_swarm/)
307-
- [GroupChat](https://docs.swarms.world/swarms/structs/group_chat/)
308-
- [SwarmRouter](https://docs.swarms.world/swarms/structs/swarm_router/)
301+
- [SequentialWorkflow](https://docs.swarms.world/api/sequential-workflow)
302+
- [AgentRearrange](https://docs.swarms.world/api/agent-rearrange)
303+
- [MixtureOfAgents](https://docs.swarms.world/api/mixture-of-agents)
304+
- [SpreadSheetSwarm](https://docs.swarms.world/api/spreadsheet-swarm)
305+
- [ForestSwarm](https://docs.swarms.world/api/forest-swarm)
306+
- [GraphWorkflow](https://docs.swarms.world/api/graph-workflow)
307+
- [GroupChat](https://docs.swarms.world/api/group-chat)
308+
- [SwarmRouter](https://docs.swarms.world/api/swarm-router)
309309

310310
### Enhancing Agent Capabilities
311311

@@ -333,10 +333,10 @@ We have several areas where contributions are particularly welcome.
333333
### Documentation
334334

335335
- **Official Documentation**: [docs.swarms.world](https://docs.swarms.world)
336-
- **Installation Guide**: [Installation](https://docs.swarms.world/swarms/install/install/)
337-
- **Quickstart Guide**: [Get Started](https://docs.swarms.world/swarms/install/quickstart/)
338-
- **Agent Architecture**: [Agent Internal Mechanisms](https://docs.swarms.world/swarms/framework/agents_explained/)
339-
- **Agent API**: [Agent API](https://docs.swarms.world/swarms/structs/agent/)
336+
- **Installation Guide**: [Installation](https://docs.swarms.world/installation)
337+
- **Quickstart Guide**: [Get Started](https://docs.swarms.world/quickstart)
338+
- **Agent Architecture**: [Agent Internal Mechanisms](https://docs.swarms.world/concepts/agents)
339+
- **Agent API**: [Agent API](https://docs.swarms.world/api/agent)
340340

341341
### Examples and Tutorials
342342

examples/voice_agents/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ tts_callback.flush()
3434

3535
## Related
3636

37-
- [Single agent speech](https://docs.swarms.world/swarms/examples/single_agent_speech/) documentation
38-
- [Hierarchical speech swarm](https://docs.swarms.world/swarms/examples/hierarchical_speech_swarm/) documentation
37+
- [Examples index](https://docs.swarms.world/examples/overviews/examples-index) — full list of runnable examples
38+
- [Streaming agents](https://docs.swarms.world/examples/agents/agent-streaming) — token-streaming patterns used by the voice callback
3939
- [guides/changelog_890/](../guides/changelog_890/) and [guides/880_update_changelog_examples/](../guides/880_update_changelog_examples/) for more voice examples

swarms/cli/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,7 @@ def main() -> None:
20982098
"Your command could not be processed due to the above error.\n"
20992099
"👉 Please review your arguments, environment settings, and try again.\n"
21002100
"For more information, run 'swarms help' or visit the documentation:\n"
2101-
"https://docs.swarms.world/swarms/cli/cli_reference/\n\n"
2101+
"https://docs.swarms.world/cli/overview\n\n"
21022102
f"[dim]Traceback:[/dim]\n{traceback.format_exc()}",
21032103
title="Fatal Error",
21042104
style="red",

swarms/structs/agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2009,7 +2009,7 @@ def _handle_run_error(self, error: any):
20092009
f"Traceback:\n{traceback_info}\n"
20102010
f"Agent State: {self.to_dict()}\n"
20112011
f"Please optimize your input parameters, or create an issue on the Swarms GitHub and contact our team on Discord for support. "
2012-
f"For technical support, refer to this document: https://docs.swarms.world/swarms/support/"
2012+
f"For technical support, refer to this document: https://docs.swarms.world/community/technical-support"
20132013
)
20142014

20152015
raise error
@@ -4860,7 +4860,7 @@ def run(
48604860
f"Agent Name: {self.agent_name} Keyboard interrupt detected. "
48614861
"If autosave is enabled, the agent's state will be saved to the workspace directory. "
48624862
"To enable autosave, please initialize the agent with Agent(autosave=True)."
4863-
"For technical support, refer to this document: https://docs.swarms.world/swarms/support/"
4863+
"For technical support, refer to this document: https://docs.swarms.world/community/technical-support"
48644864
)
48654865
raise KeyboardInterrupt
48664866

swarms/structs/swarm_router.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -332,13 +332,13 @@ def reliability_check(self):
332332
f"[SwarmRouter Reliability Check] Initializing SwarmRouter '{self.name}'. "
333333
"Validating required parameters for robust operation.\n"
334334
"For detailed documentation on SwarmRouter configuration, usage, and available swarm types, "
335-
"please visit: https://docs.swarms.world/swarms/structs/swarm_router/"
335+
"please visit: https://docs.swarms.world/api/swarm-router"
336336
)
337337

338338
# Check swarm type first since it affects other validations
339339
if self.swarm_type is None:
340340
raise SwarmRouterConfigError(
341-
"SwarmRouter: Swarm type cannot be 'none'. Check the docs for all the swarm types available. https://docs.swarms.world/swarms/structs/swarm_router/"
341+
"SwarmRouter: Swarm type cannot be 'none'. Check the docs for all the swarm types available. https://docs.swarms.world/api/swarm-router"
342342
)
343343

344344
# Validate swarm type is a valid string
@@ -349,28 +349,28 @@ def reliability_check(self):
349349
f"SwarmRouter: swarm_type must be a string, not {type(self.swarm_type).__name__}. "
350350
f"Valid types are: {', '.join(valid_swarm_types)}. "
351351
"Use swarm_type='SequentialWorkflow' (string), NOT SwarmType.SequentialWorkflow. "
352-
"See https://docs.swarms.world/swarms/structs/swarm_router/"
352+
"See https://docs.swarms.world/api/swarm-router"
353353
)
354354

355355
if self.swarm_type not in valid_swarm_types:
356356
raise SwarmRouterConfigError(
357357
f"SwarmRouter: Invalid swarm_type '{self.swarm_type}'. "
358358
f"Valid types are: {', '.join(valid_swarm_types)}. "
359-
"See https://docs.swarms.world/swarms/structs/swarm_router/"
359+
"See https://docs.swarms.world/api/swarm-router"
360360
)
361361

362362
if (
363363
self.swarm_type == "AgentRearrange"
364364
and self.rearrange_flow is None
365365
):
366366
raise SwarmRouterConfigError(
367-
"SwarmRouter: rearrange_flow cannot be 'none' when using AgentRearrange. Check the SwarmRouter docs to learn of required parameters. https://docs.swarms.world/swarms/structs/agent_rearrange/"
367+
"SwarmRouter: rearrange_flow cannot be 'none' when using AgentRearrange. Check the SwarmRouter docs to learn of required parameters. https://docs.swarms.world/api/agent-rearrange"
368368
)
369369

370370
# Validate max_loops
371371
if self.max_loops == 0:
372372
raise SwarmRouterConfigError(
373-
"SwarmRouter: max_loops cannot be 0. Check the docs for all the max_loops available. https://docs.swarms.world/swarms/structs/swarm_router/"
373+
"SwarmRouter: max_loops cannot be 0. Check the docs for all the max_loops available. https://docs.swarms.world/api/swarm-router"
374374
)
375375

376376
self.setup()
@@ -819,7 +819,7 @@ def _run(
819819
" - Ensure all individual agents are properly configured and initialized.\n"
820820
" - Review the error message and traceback above for clues.\n\n"
821821
"For detailed documentation on SwarmRouter configuration, usage, and available swarm types, please visit:\n"
822-
" https://docs.swarms.world/swarms/structs/swarm_router/\n"
822+
" https://docs.swarms.world/api/swarm-router\n"
823823
)
824824
raise e
825825

@@ -866,7 +866,7 @@ def run(
866866
" - Ensure all individual agents are properly configured and initialized.\n"
867867
" - Review the error message and traceback above for clues.\n\n"
868868
"For detailed documentation on SwarmRouter configuration, usage, and available swarm types, please visit:\n"
869-
" https://docs.swarms.world/swarms/structs/swarm_router/\n"
869+
" https://docs.swarms.world/api/swarm-router\n"
870870
)
871871
raise e
872872

0 commit comments

Comments
 (0)