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 debug statement
Ishaan Jaff07fc5a72f107
diff --git a/litellm/proxy/db/spend_update_queue.py b/litellm/proxy/db/spend_update_queue.pyindex c17c1cddf9f..e77f9450943 100644--- a/litellm/proxy/db/spend_update_queue.py+++ b/litellm/proxy/db/spend_update_queue.py@@ -171,9 +171,16 @@ class DailySpendUpdateQueue:) -> Dict[str, DailyUserSpendTransaction]:"""Get all updates from the queue and return all updates aggregated by daily_transaction_key."""updates = await self.flush_all_updates_from_in_memory_queue()- return DailySpendUpdateQueue.get_aggregated_daily_spend_update_transactions(- updates+ aggregated_daily_spend_update_transactions = (+ DailySpendUpdateQueue.get_aggregated_daily_spend_update_transactions(+ updates+ ))+ verbose_proxy_logger.debug(+ "Aggregated daily spend update transactions: %s",+ aggregated_daily_spend_update_transactions,+ )+ return aggregated_daily_spend_update_transactions@staticmethoddef get_aggregated_daily_spend_update_transactions(