mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
better code spacing
This commit is contained in:
@@ -647,6 +647,7 @@ class Crew(BaseModel):
|
|||||||
f"No agent available for task: {task.description}. Ensure that either the task has an assigned agent or a manager agent is provided."
|
f"No agent available for task: {task.description}. Ensure that either the task has an assigned agent or a manager agent is provided."
|
||||||
)
|
)
|
||||||
self._log_task_start(task, agent_to_use)
|
self._log_task_start(task, agent_to_use)
|
||||||
|
|
||||||
if isinstance(task, ConditionalTask):
|
if isinstance(task, ConditionalTask):
|
||||||
if futures:
|
if futures:
|
||||||
task_outputs.extend(
|
task_outputs.extend(
|
||||||
@@ -676,6 +677,7 @@ class Crew(BaseModel):
|
|||||||
task_index,
|
task_index,
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if task.async_execution:
|
if task.async_execution:
|
||||||
context = self._get_context(
|
context = self._get_context(
|
||||||
task, [last_sync_output] if last_sync_output else []
|
task, [last_sync_output] if last_sync_output else []
|
||||||
|
|||||||
Reference in New Issue
Block a user