litellm/tests/unit/passthrough
mateo-berri e47fcca489 fix(passthrough): add the helper that selects forwarded x-pass- headers
Prerequisite for the backport of #51237 to lts/1.108.x. Hand-ported _is_forwarded_pass_through_header, BasePassthroughUtils.pass_through_prefixed_headers, and their two tests only from 845f109524 (#50728, by norkelbyte). The Bedrock route forwarding that commit adds stays off the line. The OpenAI Agents turn billing reads the caller's forwarded OpenAI project headers through this helper.
2026-11-17 16:27:08 -08: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 refactor: expose core private helpers under public names (#44871) 2026-10-07 00:05:27 +00:00
test_streaming_interrupt_spend_tracking.py fix(bedrock): backport #46307 and #46524 to rc/1.107.0 (#47157) 2026-10-17 14:45:38 -07:00
test_utils.py fix(passthrough): add the helper that selects forwarded x-pass- headers 2026-11-17 16:27:08 -08:00