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
add error when trying to send emails
Ishaan Jaff1e90329c4b0a
diff --git a/litellm/integrations/slack_alerting.py b/litellm/integrations/slack_alerting.pyindex 8ae23c629f9..44d0e488711 100644--- a/litellm/integrations/slack_alerting.py+++ b/litellm/integrations/slack_alerting.py@@ -1263,6 +1263,10 @@ Model Info:if self.alerting is None or "email" not in self.alerting:# do nothing if user does not want email alerts+ verbose_proxy_logger.error(+ "Error sending email alert - 'email' not in self.alerting %s",+ self.alerting,+ )return Falsefrom litellm.proxy.proxy_server import premium_user, prisma_client