Skip to content

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]

add azure_ad_token_provider as all litellm params

Ishaan Jaff2a3bc8c19029
diff --git a/litellm/types/utils.py b/litellm/types/utils.py
index 8efbe5a1149..62a3a5bcd4a 100644
--- a/litellm/types/utils.py
+++ b/litellm/types/utils.py
@@ -1116,6 +1116,7 @@ all_litellm_params = [
"cooldown_time",
"cache_key",
"max_retries",
+ "azure_ad_token_provider",
]
diff --git a/litellm/utils.py b/litellm/utils.py
index 0e9e531e98a..ea6b9952425 100644
--- a/litellm/utils.py
+++ b/litellm/utils.py
@@ -2323,6 +2323,7 @@ def get_litellm_params(
output_cost_per_second=None,
cooldown_time=None,
text_completion=None,
+ azure_ad_token_provider=None,
):
litellm_params = {
"acompletion": acompletion,
@@ -2347,6 +2348,7 @@ def get_litellm_params(
"output_cost_per_second": output_cost_per_second,
"cooldown_time": cooldown_time,
"text_completion": text_completion,
+ "azure_ad_token_provider": azure_ad_token_provider,
}
return litellm_params