mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
chore(proxy): suppress LIT001 on early reconcile reservation dict
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
6a42c661fd
commit
23d54924d1
1 changed files with 4 additions and 1 deletions
|
|
@ -656,7 +656,10 @@ async def _update_database_and_spend_counters(
|
|||
return True
|
||||
|
||||
|
||||
async def _reconcile_budget_reservation_before_db_update(budget_reservation: dict, response_cost: float) -> None:
|
||||
async def _reconcile_budget_reservation_before_db_update(
|
||||
budget_reservation: dict, # mutable-ok: reconcile_budget_reservation stamps applied_adjustment on the caller's shared reservation dict
|
||||
response_cost: float,
|
||||
) -> None:
|
||||
from litellm.proxy.spend_tracking.budget_reservation import reconcile_budget_reservation
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue