litellm/tests/test_litellm_rust
Yujong Lee 219e42433d fix(rust): carry provider response headers to logging on every native route
Non-streaming native calls never set response_headers on the logging object, so
spend logs, provider request ids and PTU spillover detection lost them. RawResponse
now requires the upstream headers, every route reports the provider response
through one shared helper, and the legacy logger records response_headers through
one setter for streamed and complete responses alike

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 14:19:12 -07:00
..
cache test(rust-bridge): select native routes per test without LITELLM_RUST (#46620) 2026-10-15 09:12:08 -07:00
chat_completions fix(rust): carry provider response headers to logging on every native route 2026-10-15 14:19:12 -07:00
messages fix(rust): carry provider response headers to logging on every native route 2026-10-15 14:19:12 -07:00
ocr fix(rust): carry provider response headers to logging on every native route 2026-10-15 14:19:12 -07:00
responses fix(rust): carry provider response headers to logging on every native route 2026-10-15 14:19:12 -07:00
support test(rust-bridge): select native routes per test without LITELLM_RUST (#46620) 2026-10-15 09:12:08 -07:00
tokenizer test: move tests/test_litellm core utils, routing, responses, caching and rust_bridge into tests/unit (#43199) 2026-09-25 17:10:13 -07:00
AGENTS.md test(rust-bridge): select native routes per test without LITELLM_RUST (#46620) 2026-10-15 09:12:08 -07:00
conftest.py test(rust-bridge): select native routes per test without LITELLM_RUST (#46620) 2026-10-15 09:12:08 -07:00
test_clickhouse_spend.py refactor(lens): connect LiteLLM to the independent Lens service (#45529) 2026-10-09 16:17:05 -07:00
test_fork_guard.py test(rust-bridge): select native routes per test without LITELLM_RUST (#46620) 2026-10-15 09:12:08 -07:00