The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Use AZURE_API_VERSION as default azure openai version
Marc Abramowitzac9aa1ab6785
diff --git a/litellm/router_utils/client_initalization_utils.py b/litellm/router_utils/client_initalization_utils.pyindex 073a87901ac..f396defb51f 100644--- a/litellm/router_utils/client_initalization_utils.py+++ b/litellm/router_utils/client_initalization_utils.py@@ -190,7 +190,7 @@ def set_client(litellm_router_instance: LitellmRouter, model: dict):if azure_ad_token.startswith("oidc/"):azure_ad_token = get_azure_ad_token_from_oidc(azure_ad_token)if api_version is None:- api_version = litellm.AZURE_DEFAULT_API_VERSION+ api_version = os.getenv("AZURE_API_VERSION", litellm.AZURE_DEFAULT_API_VERSION)if "gateway.ai.cloudflare.com" in api_base:if not api_base.endswith("/"):