mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-21 06:54:24 +01:00
Update config.py
azure_model_to_deployment_id_map default type should be a dict, not list
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user