Update kickoff-async.mdx

Missing mandatory field expected_output on task in example
This commit is contained in:
nikolaidk
2025-02-15 11:36:27 +01:00
committed by GitHub
parent 1b488b6da7
commit bf5577d637

View File

@@ -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())
```
```