Expand description
Live-zone-aware request compression preserves provider-cached prefixes.
The detector deliberately works on message values rather than serialized request bytes: frozen messages are moved through the pipeline unchanged, while only the live suffix may be rewritten.
Structs§
- Live
Zone Split - A conversation split at the first message safe to rewrite.
- Live
Zone Stats - Compression accounting for a single live-zone pass.
Functions§
- add_
cache_ markers - Add one Anthropic cache breakpoint at the frozen/live boundary.
- compress_
live_ only - Compress only the non-cached suffix in place.
- detect_
live_ zone - Locate the prefix already eligible for provider cache reuse.