mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
- updated MAX-TOKEN according to openai document
- minior optimization of code style - fixed issues `RuntimeError: fail to reduce message length`
This commit is contained in:
parent
5e02f4c92a
commit
6487ae84b0
4 changed files with 20 additions and 21 deletions
|
|
@ -92,7 +92,7 @@ class Config(CLIParams, YamlModel):
|
|||
"""
|
||||
default_config_paths: List[Path] = [
|
||||
METAGPT_ROOT / "config/config2.yaml",
|
||||
Path.home() / ".metagpt/config2.yaml",
|
||||
CONFIG_ROOT / "config2.yaml",
|
||||
]
|
||||
|
||||
dicts = [dict(os.environ)]
|
||||
|
|
@ -134,4 +134,3 @@ def merge_dict(dicts: Iterable[Dict]) -> Dict:
|
|||
return result
|
||||
|
||||
|
||||
config = Config.default()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue