Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

Auto-update documentation after merge

camel-docs-bot52569dbb85d5
diff --git a/docs/reference/camel.societies.workforce.workforce.md b/docs/reference/camel.societies.workforce.workforce.md
index d4229571f..bc44166bc 100644
--- a/docs/reference/camel.societies.workforce.workforce.md
+++ b/docs/reference/camel.societies.workforce.workforce.md
@@ -555,98 +555,6 @@ Validate task assignments against valid worker IDs.
Tuple[List[TaskAssignment], List[TaskAssignment]]:
(valid_assignments, invalid_assignments)
-<a id="camel.societies.workforce.workforce.Workforce._handle_task_assignment_fallbacks"></a>
-
-### _handle_task_assignment_fallbacks
-
-```python
-def _handle_task_assignment_fallbacks(self, tasks: List[Task]):
-```
-
-Create new workers for unassigned tasks as fallback.
-
-**Parameters:**
-
-- **tasks** (List[Task]): Tasks that need new workers.
-
-**Returns:**
-
- List[TaskAssignment]: Assignments for newly created workers.
-
-<a id="camel.societies.workforce.workforce.Workforce._handle_assignment_retry_and_fallback"></a>
-
-### _handle_assignment_retry_and_fallback
-
-```python
-def _handle_assignment_retry_and_fallback(
- self,
- invalid_assignments: List[TaskAssignment],
- tasks: List[Task],
- valid_worker_ids: Set[str]
-):
-```
-
-Called if Coordinator agent fails to assign tasks to valid worker
-IDs. Handles retry assignment and fallback worker creation for invalid
-assignments.
-
-**Parameters:**
-
-- **invalid_assignments** (List[TaskAssignment]): Invalid assignments to retry.
-- **tasks** (List[Task]): Original tasks list for task lookup.
-- **valid_worker_ids** (set): Set of valid worker IDs.
-
-**Returns:**
-
- List[TaskAssignment]: Final assignments for the invalid tasks.
-
-<a id="camel.societies.workforce.workforce.Workforce._find_assignee"></a>
-
-### _find_assignee
-
-```python
-def _find_assignee(self, tasks: List[Task]):
-```
-
-Assigns multiple tasks to worker nodes with the best capabilities.
-
-**Parameters:**
-
-- **tasks** (List[Task]): The tasks to be assigned.
-
-**Returns:**
-
- TaskAssignResult: Assignment result containing task assignments
-with their dependencies.
-
-<a id="camel.societies.workforce.workforce.Workforce._create_worker_node_for_task"></a>
-
-### _create_worker_node_for_task
-
-```python
-def _create_worker_node_for_task(self, task: Task):
-```
-
-Creates a new worker node for a given task and add it to the
-children list of this node. This is one of the actions that
-the coordinator can take when a task has failed.
-
-**Parameters:**
-
-- **task** (Task): The task for which the worker node is created.
-
-**Returns:**
-
- Worker: The created worker node.
-
-<a id="camel.societies.workforce.workforce.Workforce._create_new_agent"></a>
-
-### _create_new_agent
-
-```python
-def _create_new_agent(self, role: str, sys_msg: str):
-```
-
<a id="camel.societies.workforce.workforce.Workforce.get_workforce_log_tree"></a>
### get_workforce_log_tree