Skip to content

Commit

Permalink
only if deliverables are null
Browse files Browse the repository at this point in the history
  • Loading branch information
dewmal committed Aug 16, 2024
1 parent bf6fbce commit 4504245
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bindings/ceylon/ceylon/llm/llm_task_coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ def initialize_team_network(self):
self.team_network.add_node(agent.details().name, role=agent.details().role)

async def update_task(self, idx: int, task: Task):

task_deliverable = await self.build_task_deliverable(task)
task.set_deliverable(task_deliverable)
if task.task_deliverable is None:
task_deliverable = await self.build_task_deliverable(task)
task.set_deliverable(task_deliverable)

if len(task.subtasks) == 0:
sub_tasks = await self.generate_tasks_from_description(task)
Expand Down

0 comments on commit 4504245

Please sign in to comment.