From 123f302744845bf5847c69575e455dd7258cdb74 Mon Sep 17 00:00:00 2001 From: nikolaidk <59203257+nikolaidk@users.noreply.github.com> Date: Tue, 25 Feb 2025 18:12:27 +0100 Subject: [PATCH] Update kickoff-async.mdx (#2138) Missing mandatory field expected_output on task in example Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com> --- docs/how-to/kickoff-async.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/how-to/kickoff-async.mdx b/docs/how-to/kickoff-async.mdx index 099c7ebc6..81300b19b 100644 --- a/docs/how-to/kickoff-async.mdx +++ b/docs/how-to/kickoff-async.mdx @@ -54,7 +54,8 @@ coding_agent = Agent( # Create a task that requires code execution data_analysis_task = Task( description="Analyze the given 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 a crew and add the task @@ -116,4 +117,4 @@ async def async_multiple_crews(): # Run the async function asyncio.run(async_multiple_crews()) -``` \ No newline at end of file +```