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
fix: narrow CallInfo.max_budget_alert_emails to Dict[str, List[str]]
Ryan Crabbe09a524a35152
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.pyindex d12414c19c7..d3c83248706 100644--- a/litellm/proxy/_types.py+++ b/litellm/proxy/_types.py@@ -3095,7 +3095,7 @@ class CallInfo(LiteLLMPydanticObjectBase):default=None,description="Additional email addresses to send alerts to (e.g., from team metadata)",)- max_budget_alert_emails: Optional[Dict[str, Union[str, List[str]]]] = Field(+ max_budget_alert_emails: Optional[Dict[str, List[str]]] = Field(default=None,description="Map of threshold percentage to email recipients (e.g., {'50': ['[email protected]'], '75': ['[email protected]', '[email protected]']})",)