🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
chore: fix retry when quality check failed (#3698)
Tao Sun66fab597d140
diff --git a/camel/societies/workforce/workforce.py b/camel/societies/workforce/workforce.pyindex 5f4e2c349..34a5e26b6 100644--- a/camel/societies/workforce/workforce.py+++ b/camel/societies/workforce/workforce.py@@ -3862,6 +3862,8 @@ class Workforce(BaseNode):# Record the start time when a task is postedself._task_start_times[task.id] = time.time()+ # Ensure assignee mapping exists for retries and follow-up handling.+ self._assignees[task.id] = assignee_idtask.assigned_worker_id = assignee_idtask_started_event = TaskStartedEvent(