From 33ac8c51092611f1ea61e18caa87362dd062c77f Mon Sep 17 00:00:00 2001 From: garylin2099 Date: Thu, 5 Sep 2024 10:42:04 +0800 Subject: [PATCH] increase mem window --- metagpt/roles/di/role_zero.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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