mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-26 01:12:21 +00:00
Non-streaming responses served by the Rust core already carry x-litellm-rust: true through _hidden_params.additional_headers, which the SDK exposes and the gateway renders as a response header. Native streams did not, because the lifecycle Stream and SyncStream objects had nowhere to hold hidden params and the marker writer skips objects without them. Give both stream classes the same _hidden_params bag every other litellm response has, so the existing marker attaches without wrapping the stream or changing its identity. Co-authored-by: Yujong Lee <yujong@berri.ai> |
||
|---|---|---|
| .. | ||
| messages | ||
| ocr | ||
| support | ||
| conftest.py | ||
| test_cache.py | ||
| test_fork_guard.py | ||
| test_ocr.py | ||
| test_tokenizer.py | ||
| test_valkey_semantic_cache_native.py | ||