🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
fix format issues
黄伟韬14642407d15e
diff --git a/metagpt/roles/di/role_zero.py b/metagpt/roles/di/role_zero.pyindex 4e61ceab3..1153cb22d 100644--- a/metagpt/roles/di/role_zero.py+++ b/metagpt/roles/di/role_zero.py@@ -69,8 +69,6 @@ class RoleZero(Role):react_mode: Literal["react"] = "react"max_react_loop: int = 20 # used for react mode- # Summary Mode- use_summary: bool = True# Toolstools: list[str] = [] # Use special symbol ["<all>"] to indicate use of all registered toolstool_recommender: Optional[ToolRecommender] = None@@ -89,6 +87,7 @@ class RoleZero(Role):memory_k: int = 20 # number of memories (messages) to use as historical contextuse_fixed_sop: bool = Falserequirements_constraints: str = "" # the constraints in user requirements+ use_summary: bool = True # whether to summarize at the end@model_validator(mode="after")def set_plan_and_tool(self) -> "RoleZero":