🐫 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
Auto-update documentation after merge
GitHub Action6fde3247a129
diff --git a/docs/mintlify/reference/camel.societies.workforce.utils.mdx b/docs/mintlify/reference/camel.societies.workforce.utils.mdxindex c52882d96..96fa20cfe 100644--- a/docs/mintlify/reference/camel.societies.workforce.utils.mdx+++ b/docs/mintlify/reference/camel.societies.workforce.utils.mdx@@ -41,3 +41,25 @@ def check_if_running(running: bool):**Raises:**- **RuntimeError**: If the workforce is not in the expected status.++<a id="camel.societies.workforce.utils.validate_task_content"></a>++## validate_task_content++```python+def validate_task_content(content: str, task_id: str = 'unknown', min_length: int = 10):+```++Validates task result content to avoid silent failures.+It performs basic checks to ensure the content meets minimum+quality standards.++**Parameters:**++- **content** (str): The task result content to validate.+- **task_id** (str): Task ID for logging purposes. (default: :obj:`"unknown"`)+- **min_length** (int): Minimum content length after stripping whitespace. (default: :obj:`10`)++**Returns:**++ bool: True if content passes validation, False otherwise.