litellm/tests/test_litellm/proxy/utils
yuneng-jiang d3bcff7559
fix(proxy): return deprecated-key lookup result directly in get_data combined view (#30327)
The grace-period branch assigned the recursive get_data result (a
finished LiteLLM_VerificationTokenView) back into the variable that the
combined-view dict normalization then subscripts, raising TypeError on
every request made with a rotated key inside its grace window; auth
surfaced that as a 401. Return the recursive result directly instead.

Regression test drives the full get_data flow: old hash misses the view,
deprecated table resolves to the active token, and the call must return
the view object

(cherry picked from commit 5047eaf7f0)
2026-06-12 17:58:33 -07:00
..
prisma_and_spend fix(proxy): return deprecated-key lookup result directly in get_data combined view (#30327) 2026-06-12 17:58:33 -07:00
__init__.py fix(proxy): recover from cached-plan errors by reconnecting the Prisma client (#29983) 2026-06-12 16:40:23 -07:00