mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
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>
This commit is contained in:
committed by
Brandon Hancock
parent
4b63b29787
commit
f6b0b492a4
@@ -54,7 +54,8 @@ coding_agent = Agent(
|
|||||||
# Create a task that requires code execution
|
# Create a task that requires code execution
|
||||||
data_analysis_task = Task(
|
data_analysis_task = Task(
|
||||||
description="Analyze the given dataset and calculate the average age of participants. Ages: {ages}",
|
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
|
# Create a crew and add the task
|
||||||
|
|||||||
Reference in New Issue
Block a user