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
_base_validate_azure_environment
Ishaan Jaffer8dc5960332c4
diff --git a/litellm/llms/azure/common_utils.py b/litellm/llms/azure/common_utils.pyindex 54352148c5e..dfe662cc165 100644--- a/litellm/llms/azure/common_utils.py+++ b/litellm/llms/azure/common_utils.py@@ -672,6 +672,10 @@ class BaseAzureLLM(BaseOpenAILLM):) -> dict:litellm_params = litellm_params or GenericLiteLLMParams()+ # Check if api-key is already in headers; if so, use it+ if "api-key" in headers:+ return headers+api_key = (litellm_params.api_keyor litellm.api_key