experience pool

This commit is contained in:
seehi 2024-06-03 10:14:57 +08:00
parent 5c416a1f31
commit 15b86e8533
10 changed files with 106 additions and 0 deletions

View file

@ -21,6 +21,7 @@ from metagpt.configs.search_config import SearchConfig
from metagpt.configs.workspace_config import WorkspaceConfig
from metagpt.const import CONFIG_ROOT, METAGPT_ROOT
from metagpt.utils.yaml_model import YamlModel
from metagpt.configs.exp_pool_config import ExperiencePoolConfig
class CLIParams(BaseModel):
@ -67,6 +68,9 @@ class Config(CLIParams, YamlModel):
enable_longterm_memory: bool = False
code_review_k_times: int = 2
# Experience Pool Parameters
experience_pool: Optional[ExperiencePoolConfig] = None
# Will be removed in the future
metagpt_tti_url: str = ""
language: str = "English"