mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-28 18:36:22 +02:00
fix typo
This commit is contained in:
parent
3baf47a3d6
commit
5aa4ef5d83
1 changed files with 2 additions and 3 deletions
|
|
@ -55,8 +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 = ""
|
||||
|
|
@ -66,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.")
|
||||
logger.info(f"OpenAI API Model: {self.openai_api_model}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue