mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-30 11:26:23 +02:00
exp_pool add enabled
This commit is contained in:
parent
dc685c000f
commit
36db2b067e
7 changed files with 12 additions and 6 deletions
|
|
@ -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.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue