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.

fix expected output (#2498)

Orce MARINKOVSKI9b51e1174c49
diff --git a/docs/how-to/kickoff-async.mdx b/docs/how-to/kickoff-async.mdx
index 81300b19b..e3b92dd28 100644
--- a/docs/how-to/kickoff-async.mdx
+++ b/docs/how-to/kickoff-async.mdx
@@ -92,12 +92,14 @@ coding_agent = Agent(
# Create tasks that require code execution
task_1 = Task(
description="Analyze the first dataset and calculate the average age of participants. Ages: {ages}",
- agent=coding_agent
+ agent=coding_agent,
+ expected_output="The average age of the participants."
)
task_2 = Task(
description="Analyze the second dataset and calculate the average age of participants. Ages: {ages}",
- agent=coding_agent
+ agent=coding_agent,
+ expected_output="The average age of the participants."
)
# Create two crews and add tasks