Update litellm/proxy/common_utils/reset_budget_job.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Shivam Rawat 2026-02-14 14:42:17 -08:00 committed by GitHub
parent cf14f0c821
commit f79a8f7809
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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):
"""