litellm/litellm-rust/crates/host-python/tests
mateo-berri c49ebdf61b fix(messages): hand plain Rust Messages rate-limit headers to logging
A plain /v1/messages call on the opt-in Rust route (LITELLM_RUST=true) gave
logging no response headers, so the remaining tokens and requests gauges never
updated for it. The route now hands the provider's headers to post_call, and
the host records only the anthropic-ratelimit-* and x-ratelimit-* ones. Streams
on that route record the same set on top of the prefixed entries they already
kept, so spend, spillover pricing and other logged fields do not change.

The approach follows main's #49611, adapted to this line's logging calls.
2026-11-25 07:04:14 -08:00
..
support fix(messages): hand plain Rust Messages rate-limit headers to logging 2026-11-25 07:04:14 -08:00
conversion_cache.rs feat: improve trace ingestion and trace details (#43975) 2026-10-01 13:45:33 -07:00
driver.rs refactor(rust-bridge): return an unstarted Execution from native entrypoints and drive it in Python (#46299) 2026-10-14 17:50:44 -07:00
handle.rs refactor(rust-bridge): return an unstarted Execution from native entrypoints and drive it in Python (#46299) 2026-10-14 17:50:44 -07:00
hook_chain.rs refactor(rust-bridge): return an unstarted Execution from native entrypoints and drive it in Python (#46299) 2026-10-14 17:50:44 -07:00
interop.rs refactor(rust): run OCR through a route-neutral callback contract and a legacy Logging adapter 2026-09-17 21:13:16 -07:00
lifecycle.py refactor(rust-bridge): generator-style execution protocol with stream step names (#46282) 2026-10-14 17:19:07 -07:00