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 ruff check
yuneng-jiang75ae1df5c7c9
diff --git a/litellm/proxy/spend_tracking/spend_management_endpoints.py b/litellm/proxy/spend_tracking/spend_management_endpoints.pyindex 3c93530cf63..08aaa851691 100644--- a/litellm/proxy/spend_tracking/spend_management_endpoints.py+++ b/litellm/proxy/spend_tracking/spend_management_endpoints.py@@ -1857,7 +1857,6 @@ async def ui_view_spend_logs( # noqa: PLR0915# Build order clause from sort_by and sort_orderorder_column = sort_byorder_direction = (sort_order or "desc").lower()- order_clause = {order_column: order_direction}# Get total count of recordstotal_records = await prisma_client.db.litellm_spendlogs.count(