Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

increase mem window

garylin209933ac8c510926
diff --git a/metagpt/roles/di/role_zero.py b/metagpt/roles/di/role_zero.py
index f0df0aa4b..da26796d5 100644
--- a/metagpt/roles/di/role_zero.py
+++ b/metagpt/roles/di/role_zero.py
@@ -83,7 +83,7 @@ class RoleZero(Role):
# Others
command_rsp: str = "" # the raw string containing the commands
commands: list[dict] = [] # commands to be executed
- memory_k: int = 100 # number of memories (messages) to use as historical context
+ memory_k: int = 200 # number of memories (messages) to use as historical context
use_fixed_sop: bool = False
requirements_constraints: str = "" # the constraints in user requirements
use_summary: bool = True # whether to summarize at the end