From 9b51e1174c49b0496a307ebd724a3d45d0202fd0 Mon Sep 17 00:00:00 2001 From: Orce MARINKOVSKI Date: Wed, 2 Apr 2025 06:54:35 +0200 Subject: [PATCH] fix expected output (#2498) fix expected output. missing expected_output on task throws errors Co-authored-by: Lorenze Jay <63378463+lorenzejay@users.noreply.github.com> --- docs/how-to/kickoff-async.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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