Spaces:
Sleeping
Sleeping
Update crew_utils.py
Browse files- crew_utils.py +2 -3
crew_utils.py
CHANGED
@@ -176,10 +176,9 @@ class ExposeCrew(Crew):
|
|
176 |
plan=plan,
|
177 |
researchers=[researcher_intro, researcher_dev, researcher_conclusion],
|
178 |
)
|
179 |
-
|
180 |
-
sections_results = await asyncio.gather(*[task.execute(context=[create_plan_task]) for task in section_tasks])
|
181 |
-
section_outputs = [result.content for result in sections_results]
|
182 |
|
|
|
|
|
183 |
self.log.info(f"Sections rédigées : {section_outputs}")
|
184 |
|
185 |
# Mettre à jour la description de la tâche de compilation avec les sections rédigées
|
|
|
176 |
plan=plan,
|
177 |
researchers=[researcher_intro, researcher_dev, researcher_conclusion],
|
178 |
)
|
|
|
|
|
|
|
179 |
|
180 |
+
sections_results = await asyncio.gather(*[task.execute() for task in section_tasks])
|
181 |
+
section_outputs = [result.content for result in sections_results]
|
182 |
self.log.info(f"Sections rédigées : {section_outputs}")
|
183 |
|
184 |
# Mettre à jour la description de la tâche de compilation avec les sections rédigées
|