experiment pool init

This commit is contained in:
seehi 2024-06-04 10:28:39 +08:00
parent 46aa6f1975
commit 471310f3b3
14 changed files with 258 additions and 55 deletions

View file

@ -1,6 +1,8 @@
from pydantic import Field
from metagpt.utils.yaml_model import YamlModel
class ExperiencePoolConfig(YamlModel):
enable_read: bool = False
enable_write: bool = False
enable_read: bool = Field(default=True, description="Enable to read from experience pool.")
enable_write: bool = Field(default=True, description="Enable to write to experience pool.")