From f7014e87737e6830deabc5979fdffba97f63a867 Mon Sep 17 00:00:00 2001 From: zvrr Date: Tue, 18 Apr 2023 17:06:58 +0800 Subject: [PATCH] Update config.py azure_model_to_deployment_id_map default type should be a dict, not list --- autogpt/config/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogpt/config/config.py b/autogpt/config/config.py index bc75b031..6f84f876 100644 --- a/autogpt/config/config.py +++ b/autogpt/config/config.py @@ -154,7 +154,7 @@ class Config(metaclass=Singleton): self.openai_api_version = ( config_params.get("azure_api_version") or "2023-03-15-preview" ) - self.azure_model_to_deployment_id_map = config_params.get("azure_model_map", []) + self.azure_model_to_deployment_id_map = config_params.get("azure_model_map", {}) def set_continuous_mode(self, value: bool) -> None: """Set the continuous mode value."""