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-botc677af96ee56
diff --git a/docs/reference/camel.societies.workforce.workforce.md b/docs/reference/camel.societies.workforce.workforce.md
index bc44166bc..be56de108 100644
--- a/docs/reference/camel.societies.workforce.workforce.md
+++ b/docs/reference/camel.societies.workforce.workforce.md
@@ -163,6 +163,18 @@ def _sync_shared_memory(self):
Synchronize memory across all agents by collecting and sharing.
+<a id="camel.societies.workforce.workforce.Workforce._update_dependencies_for_decomposition"></a>
+
+### _update_dependencies_for_decomposition
+
+```python
+def _update_dependencies_for_decomposition(self, original_task: Task, subtasks: List[Task]):
+```
+
+Update dependency tracking when a task is decomposed into subtasks.
+Tasks that depended on the original task should now depend on all
+subtasks. The last subtask inherits the original task's dependencies.
+
<a id="camel.societies.workforce.workforce.Workforce._cleanup_task_tracking"></a>
### _cleanup_task_tracking