Files
CLIProxyAPI/internal/runtime
Luis Pater beb4335954 fix(claude): materialize top-level cache_control in cloaked requests
- Move top-level automatic prompt caching markers onto the last cacheable block and remove the top-level field during ensureCacheControl so cloaked requests avoid TTL mismatches and duplicate breakpoints.
- Extend the Claude cache_control stream scanner and helper routines to account for top-level cache_control when counting, enforcing the 4-block limit, and normalizing or upgrading TTLs.

Closes: #7366
Co-authored-by: Dylan <1990016@gmail.com>
2026-11-09 22:44:37 +08:00
..