litellm/tests/unit/proxy/utils
mateo-berri 997d27d27c fix(logging): keep the masked failure log body across retries and bound the sync mask
Keep the masked prompt in the spend log body when a router retry or fallback
also fails, since every attempt resets the logging object's messages to the
raw prompt.

Run the sync failure mask on its own thread pool and cancel it when it is
still queued at its time bound. A guardrail with only an async logging hook
now redacts the sync failure log instead of passing the raw prompt through.

Extend the mid-stream failure log wait by the mask time only when a masking
guardrail runs, so deployments without one keep the one second wait.
2026-10-30 08:19:48 -07:00
..
helpers refactor(router): move router callers onto the entry points and invert the proxy imports (#48847) 2026-10-29 17:26:33 +00:00
prisma_and_spend fix(sso): enforce free user admission without locking out existing users (#48097) 2026-10-23 14:48:29 -07:00
proxy_logging fix(logging): keep the masked failure log body across retries and bound the sync mask 2026-10-30 08:19:48 -07:00
__init__.py test(proxy): move utils, agent_endpoints and endpoint tests into tests/unit/proxy (#44006) 2026-10-01 11:06:42 -07:00