From 5e11644e1c2d0b4d85396028e7daf17b52d0e09a Mon Sep 17 00:00:00 2001 From: Joshua Valluru <326636767+joshua-berri@users.noreply.github.com> Date: Sat, 31 Oct 2026 16:31:50 -0700 Subject: [PATCH] style(router): preserve reservation annotation formatting --- litellm/proxy/spend_tracking/budget_reservation.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litellm/proxy/spend_tracking/budget_reservation.py b/litellm/proxy/spend_tracking/budget_reservation.py index 72645be7e56..34991a7198a 100644 --- a/litellm/proxy/spend_tracking/budget_reservation.py +++ b/litellm/proxy/spend_tracking/budget_reservation.py @@ -432,8 +432,7 @@ async def invalidate_budget_reservation_counters( async def release_or_invalidate_budget_reservation( - budget_reservation: dict[str, object] - | None, # mutable-ok: stamps finalized on the caller's shared reservation dict + budget_reservation: dict[str, object] | None, # mutable-ok: marks the shared reservation finalized ) -> None: """Reconcile a still-open reservation on a terminal path that settles no cost.