This commit is contained in:
geekan 2023-12-19 18:54:04 +08:00 committed by better629
parent 06d8dccc16
commit da91fb18c0

View file

@ -55,7 +55,7 @@ class Config(metaclass=Singleton):
default_yaml_file = METAGPT_ROOT / "config/config.yaml"
def __init__(self, yaml_file=default_yaml_file):
golbal_options = OPTIONS.get()
global_options = OPTIONS.get()
# cli paras
self.project_path = ""
self.project_name = ""
@ -65,7 +65,7 @@ class Config(metaclass=Singleton):
self._init_with_config_files_and_env(yaml_file)
self._update()
golbal_options.update(OPTIONS.get())
global_options.update(OPTIONS.get())
logger.debug("Config loading done.")
def get_default_llm_provider_enum(self):