Merge pull request #2355 from yunzheng1112/fix-azure-config

* fix path of Azure config file
* default azure_api_type -> azure
This commit is contained in:
Reinier van der Leer
2023-04-19 17:25:23 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ class Config(metaclass=Singleton):
else:
return ""
AZURE_CONFIG_FILE = os.path.join(os.path.dirname(__file__), "..", "azure.yaml")
AZURE_CONFIG_FILE = os.path.join(os.path.dirname(__file__), "../..", "azure.yaml")
def load_azure_config(self, config_file: str = AZURE_CONFIG_FILE) -> None:
"""

View File

@@ -1,4 +1,4 @@
azure_api_type: azure_ad
azure_api_type: azure
azure_api_base: your-base-url-for-azure
azure_api_version: api-version-for-azure
azure_model_map: