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: skip slack alert if there was no spend (#5998)
Paz8225880af0e0
diff --git a/litellm/integrations/SlackAlerting/slack_alerting.py b/litellm/integrations/SlackAlerting/slack_alerting.pyindex 48fec5fc0f0..a6126afa7a9 100644--- a/litellm/integrations/SlackAlerting/slack_alerting.py+++ b/litellm/integrations/SlackAlerting/slack_alerting.py@@ -1630,7 +1630,7 @@ Model Info:start_date=start_date.strftime("%Y-%m-%d"),end_date=todays_date.strftime("%Y-%m-%d"),)- if _resp is None:+ if _resp is None or _resp == ([], []):returnspend_per_team, spend_per_tag = _resp