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
quote DailyTagSpend in order to look for the right View (#8947)
Michael Schmid842d8dec0961
diff --git a/litellm/proxy/spend_tracking/spend_management_endpoints.py b/litellm/proxy/spend_tracking/spend_management_endpoints.pyindex de540e1226a..9789e2a0ec1 100644--- a/litellm/proxy/spend_tracking/spend_management_endpoints.py+++ b/litellm/proxy/spend_tracking/spend_management_endpoints.py@@ -2798,7 +2798,7 @@ async def ui_get_spend_by_tags(spend_date,log_count,total_spend- FROM DailyTagSpend+ FROM "DailyTagSpend"WHERE spend_date >= $1::date AND spend_date <= $2::dateORDER BY total_spend DESC;"""@@ -2814,7 +2814,7 @@ async def ui_get_spend_by_tags(individual_request_tag,SUM(log_count) AS log_count,SUM(total_spend) AS total_spend- FROM DailyTagSpend+ FROM "DailyTagSpend"WHERE spend_date >= $1::date AND spend_date <= $2::dateAND individual_request_tag = ANY($3::text[])GROUP BY individual_request_tag