mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-29 15:59:42 +02:00
fix bug: update finish state in role init
fix bug: update finish state when new round start fix bug: update CriticReviewer status in run_step() fix bug: update ga.runtime_status when failed update: add extra yaml load utils
This commit is contained in:
parent
84cb2fa3db
commit
168bd3b57b
10 changed files with 50 additions and 13 deletions
15
metagpt/utils/minecraft/yaml_utils.py
Normal file
15
metagpt/utils/minecraft/yaml_utils.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# @Date : 2023/10/7 16:32
|
||||
# @Author : stellahong (stellahong@fuzhi.ai)
|
||||
# @Desc :
|
||||
|
||||
import yaml
|
||||
|
||||
from metagpt.const import PROJECT_ROOT
|
||||
|
||||
|
||||
def load_extra_conf(yaml_file=PROJECT_ROOT / "config/add_config.yaml"):
|
||||
with open(yaml_file, "r", encoding="utf-8") as file:
|
||||
yaml_data = yaml.safe_load(file)
|
||||
|
||||
return yaml_data
|
||||
Loading…
Add table
Add a link
Reference in a new issue