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
Update litellm/proxy/common_utils/reset_budget_job.py
Shivam Rawatf79a8f7809ce
diff --git a/litellm/proxy/common_utils/reset_budget_job.py b/litellm/proxy/common_utils/reset_budget_job.pyindex 6f038d127f6..c63309da1dc 100644--- a/litellm/proxy/common_utils/reset_budget_job.py+++ b/litellm/proxy/common_utils/reset_budget_job.py@@ -95,11 +95,13 @@ class ResetBudgetJob:where={"budget_id": {"in": budget_ids},"budget_duration": None, # only keys without their own reset schedule+ "spend": {"gt": 0}, # only reset keys that have accumulated spend},data={"spend": 0,},)+ )async def reset_budget_for_litellm_budget_table(self):"""