Update config.py
azure_model_to_deployment_id_map default type should be a dict, not listpull/2351/head
parent
4c2a566acc
commit
f7014e8773
|
@ -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."""
|
||||
|
|
Loading…
Reference in New Issue