🐫 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
fix(utils): set default value for failed flag in TaskResult (#3349)
Lei Zhang42ff55ff0c54
diff --git a/camel/societies/workforce/utils.py b/camel/societies/workforce/utils.pyindex c5231af66..5f9c4cdbe 100644--- a/camel/societies/workforce/utils.py+++ b/camel/societies/workforce/utils.py@@ -38,7 +38,8 @@ class TaskResult(BaseModel):content: str = Field(description="The result of the task.")failed: bool = Field(- description="Flag indicating whether the task processing failed."+ default=False,+ description="Flag indicating whether the task processing failed.",)