Skip to content

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

add in 2 small improvements based on joao feedback (#1264)

Brandon Hancock (bhancock_ai)5ae56e3f72f3
diff --git a/docs/core-concepts/Pipeline.md b/docs/core-concepts/Pipeline.md
index a601bcf75..7fed4887c 100644
--- a/docs/core-concepts/Pipeline.md
+++ b/docs/core-concepts/Pipeline.md
@@ -32,8 +32,8 @@ Each input creates its own run, flowing through all stages of the pipeline. Mult
## Pipeline Attributes
-| Attribute | Parameters | Description |
-| :--------- | :--------- | :------------------------------------------------------------------------------------ |
+| Attribute | Parameters | Description |
+| :--------- | :--------- | :---------------------------------------------------------------------------------------------- |
| **Stages** | `stages` | A list of crews, lists of crews, or routers representing the stages to be executed in sequence. |
## Creating a Pipeline
@@ -239,7 +239,7 @@ email_router = Router(
pipeline=normal_pipeline
)
},
- default=Pipeline(stages=[normal_pipeline]) # Default to just classification if no urgency score
+ default=Pipeline(stages=[normal_pipeline]) # Default to just normal if no urgency score
)
# Use the router in a main pipeline
diff --git a/src/crewai/__init__.py b/src/crewai/__init__.py
index 8bc461342..a27034192 100644
--- a/src/crewai/__init__.py
+++ b/src/crewai/__init__.py
@@ -2,6 +2,7 @@ from crewai.agent import Agent
from crewai.crew import Crew
from crewai.pipeline import Pipeline
from crewai.process import Process
+from crewai.routers import Router
from crewai.task import Task
-__all__ = ["Agent", "Crew", "Process", "Task", "Pipeline"]
+__all__ = ["Agent", "Crew", "Process", "Task", "Pipeline", "Router"]