mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 01:36:29 +02:00
make memory_k configurable
This commit is contained in:
parent
c95a925b19
commit
2965a22e1d
3 changed files with 4 additions and 1 deletions
|
|
@ -6,3 +6,4 @@ from metagpt.utils.yaml_model import YamlModel
|
|||
class RoleZeroConfig(YamlModel):
|
||||
enable_longterm_memory: bool = Field(default=False, description="Whether to use long-term memory.")
|
||||
longterm_memory_persist_path: str = Field(default=".role_memory_data", description="The directory to save data.")
|
||||
memory_k: int = Field(default=200, description="The capacity of short-term memory.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue