litellm/tests/test_litellm/compression
mateo-berri 931bdb8c0b fix(compression): protect part-level cache_control rows in compress() too
compress() scores text-only copies of the rows, so a content-part cache_control marker was gone by the time get_protected_indices ran and the pinned row could still be stubbed. Read protection from the original rows, which are index-aligned with the normalized copies, and add a regression test that fails without the change.
2026-09-14 18:19:51 -07:00
..
test_compress.py fix(compression): protect part-level cache_control rows in compress() too 2026-09-14 18:19:51 -07:00