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 Rawat2d9508ec9625
diff --git a/litellm/proxy/common_utils/reset_budget_job.py b/litellm/proxy/common_utils/reset_budget_job.pyindex b926fe28bed..4933e679d71 100644--- a/litellm/proxy/common_utils/reset_budget_job.py+++ b/litellm/proxy/common_utils/reset_budget_job.py@@ -76,13 +76,14 @@ class ResetBudgetJob:Resets the spend for keys linked to budget tiers that are being reset.This handles keys that have budget_id but no budget_duration set on the key- itself (e.g. keys created before the fix to inherit budget_duration from- the linked budget tier).+ itself. Keys with budget_id rely on their linked budget tier's reset schedule+ rather than having their own budget_duration.Keys that have their own budget_duration are already handled byreset_budget_for_litellm_keys() and are excluded here to avoiddouble-resetting."""+ """budget_ids = [budget.budget_idfor budget in budgets_to_reset