From 3458c69eb0b66dafc8435d8a8413243fd31eb110 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 18 Mar 2025 11:04:02 -0700 Subject: [PATCH] fix common utils --- litellm/llms/azure/common_utils.py | 4 ++-- litellm/proxy/proxy_config.yaml | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/litellm/llms/azure/common_utils.py b/litellm/llms/azure/common_utils.py index fa41b079734..9933ce50b6a 100644 --- a/litellm/llms/azure/common_utils.py +++ b/litellm/llms/azure/common_utils.py @@ -346,9 +346,9 @@ class BaseAzureLLM(BaseOpenAILLM): } # init http client + SSL Verification settings if is_async is True: - azure_client_params["http_client"] = self._get_async_http_client + azure_client_params["http_client"] = self._get_async_http_client() else: - azure_client_params["http_client"] = self._get_sync_http_client + azure_client_params["http_client"] = self._get_sync_http_client() if max_retries is not None: azure_client_params["max_retries"] = max_retries diff --git a/litellm/proxy/proxy_config.yaml b/litellm/proxy/proxy_config.yaml index c5add9ee090..6f37f0e1404 100644 --- a/litellm/proxy/proxy_config.yaml +++ b/litellm/proxy/proxy_config.yaml @@ -1,6 +1,9 @@ model_list: - - model_name: gpt-4o + - model_name: gpt-3.5-turbo-end-user-test litellm_params: - model: gpt-4o + model: azure/chatgpt-v-2 + api_base: https://openai-gpt-4-test-v-1.openai.azure.com/ + api_version: "2023-05-15" + api_key: os.environ/AZURE_API_KEY