Update workforce.py

This commit is contained in:
Sun Tao 2025-10-17 14:05:32 +08:00
parent 79e32cb8c4
commit 6baefac7d0

View file

@ -85,7 +85,6 @@ class Workforce(BaseWorkforce):
self.set_channel(TaskChannel())
self._state = WorkforceState.RUNNING
task.state = TaskState.OPEN
self._pending_tasks.append(task)
# Decompose the task into subtasks first
subtasks_result = self._decompose_task(task)