exp_pool add enabled

This commit is contained in:
seehi 2024-08-09 16:05:48 +08:00
parent dc685c000f
commit 36db2b067e
7 changed files with 12 additions and 6 deletions

View file

@ -4,6 +4,10 @@ from metagpt.utils.yaml_model import YamlModel
class ExperiencePoolConfig(YamlModel):
enabled: bool = Field(
default=False,
description="Flag to enable or disable the experience pool. When disabled, both reading and writing are ineffective.",
)
enable_read: bool = Field(default=False, description="Enable to read from experience pool.")
enable_write: bool = Field(default=False, description="Enable to write to experience pool.")
persist_path: str = Field(default=".chroma_exp_data", description="The persist path for experience pool.")