docs: Fix missing await keywords in async crew kickoff methods and add llm selection guide (#2959)

This commit is contained in:
Tony Kipkemboi
2025-06-04 17:12:52 -04:00
committed by GitHub
parent 47b97d9b7f
commit 545cc2ffe4
4 changed files with 733 additions and 2 deletions

View File

@@ -108,6 +108,7 @@ crew_2 = Crew(agents=[coding_agent], tasks=[task_2])
# Async function to kickoff multiple crews asynchronously and wait for all to finish
async def async_multiple_crews():
# Create coroutines for concurrent execution
result_1 = crew_1.kickoff_async(inputs={"ages": [25, 30, 35, 40, 45]})
result_2 = crew_2.kickoff_async(inputs={"ages": [20, 22, 24, 28, 30]})