litellm/tests/unit/passthrough
mateo-berri 519ecb67c8 fix(guardrails): mask the prompt in failure logs for logging_only Presidio
A Presidio guardrail in logging_only mode masked PII only in success logs. On a failed call every failure logger got the raw prompt in kwargs["messages"] and in standard_logging_object["messages"]

Guardrails that mask the logged request now opt in with masks_logged_request (Presidio does). The failure path runs their logging hook once per call on a copy of the messages, before the standard logging payload is built, so the caller's messages stay untouched for retries and fallbacks
2026-10-29 03:10:04 -07:00
..
__init__.py test: migrate phase 15 legacy tests to tests/unit 2026-09-20 11:55:43 +00:00
test_async_streaming_error_propagation.py test: migrate phase 15 legacy tests to tests/unit 2026-09-20 11:55:43 +00:00
test_main.py test: move 81 legacy live tests in pass-through, spend, batches, audio, search, guardrails, image and ocr dirs offline (#45288) 2026-10-08 02:38:12 -07:00
test_passthrough_main.py fix(guardrails): mask the prompt in failure logs for logging_only Presidio 2026-10-29 03:10:04 -07:00
test_streaming_interrupt_spend_tracking.py fix(bedrock)!: stream Converse passthrough frames through post_call guardrails instead of buffering (#46307) 2026-10-17 00:53:53 -07:00