From e895171462878d61a896b86d73494941e992ed1a Mon Sep 17 00:00:00 2001 From: Kenny Yi Date: Thu, 7 Nov 2024 12:23:43 -0800 Subject: [PATCH] fix completion defaults --- azureai/azure_ai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azureai/azure_ai.py b/azureai/azure_ai.py index 959a890..242ee69 100644 --- a/azureai/azure_ai.py +++ b/azureai/azure_ai.py @@ -25,7 +25,7 @@ def get_model_client( config = statsig.get_config(get_statsig_user(), config_name) endpoint = config.get_typed("endpoint", default_endpoint) api_key = config.get_typed("key", default_key) - completion_defaults = config.get_typed("api_version", {}) + completion_defaults = config.get_typed("completion_defaults", {}) return ModelClient( endpoint=endpoint,