🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
fix conflict
seehi93d4c8c318fc
diff --cc metagpt/roles/di/role_zero.pyindex 738de2244,da26796d5..7f3d81b9d--- a/metagpt/roles/di/role_zero.py+++ b/metagpt/roles/di/role_zero.py@@@ -32,10 -31,9 +32,9 @@@ from metagpt.prompts.di.role_zero imporROLE_INSTRUCTION,SUMMARY_PROMPT,SYSTEM_PROMPT,- THOUGHT_GUIDANCE,)from metagpt.roles import Role-from metagpt.schema import AIMessage, Message, UserMessage+from metagpt.schema import AIMessage, LongTermMemoryItem, Message, UserMessagefrom metagpt.strategy.experience_retriever import DummyExpRetriever, ExpRetrieverfrom metagpt.strategy.planner import Plannerfrom metagpt.tools.libs.browser import Browser@@@ -87,9 -83,7 +85,9 @@@ class RoleZero(Role)# Otherscommand_rsp: str = "" # the raw string containing the commandscommands: list[dict] = [] # commands to be executed- memory_k: int = 20 # number of memories (messages) to use as historical context+ memory_k: int = 200 # number of memories (messages) to use as historical context+ enable_longterm_memory: bool = True # whether to use longterm memory+ longterm_memory: RoleZeroLongTermMemory = Noneuse_fixed_sop: bool = Falserequirements_constraints: str = "" # the constraints in user requirementsuse_summary: bool = True # whether to summarize at the end