add enable_longterm_memory config

This commit is contained in:
seehi 2024-09-12 11:20:40 +08:00
parent c0d5c031f8
commit cf3b80d5f1
4 changed files with 18 additions and 4 deletions

View file

@ -0,0 +1,7 @@
from pydantic import Field
from metagpt.utils.yaml_model import YamlModel
class RoleZeroConfig(YamlModel):
enable_longterm_memory: bool = Field(default=False, description="Whether to use long-term memory.")