From 44d82d3efc86f1409b8728d19ece3a45813d1265 Mon Sep 17 00:00:00 2001 From: garylin2099 Date: Wed, 4 Sep 2024 10:51:58 +0800 Subject: [PATCH] expand mem window to 100 --- 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 b8d0c671a..8eafe8cb5 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 = 20 # number of memories (messages) to use as historical context + memory_k: int = 100 # 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