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 _get_spend_report_for_time_range
Ishaan Jaff7fdc6312d544
diff --git a/litellm/integrations/slack_alerting.py b/litellm/integrations/slack_alerting.pyindex d0a76ec9635..bc90e86a854 100644--- a/litellm/integrations/slack_alerting.py+++ b/litellm/integrations/slack_alerting.py@@ -1668,7 +1668,9 @@ Model Info:async def send_weekly_spend_report(self):""" """try:- from litellm.proxy.proxy_server import _get_spend_report_for_time_range+ from litellm.proxy.spend_tracking.spend_management_endpoints import (+ _get_spend_report_for_time_range,+ )todays_date = datetime.datetime.now().date()week_before = todays_date - datetime.timedelta(days=7)