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
..
2026-11-04 23:33:59 +08:00
2026-11-04 23:33:59 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 12:51:28 +08:00
2026-11-09 18:02:40 +08:00
2026-11-03 03:05:04 +08:00
2026-11-09 18:02:40 +08:00
2026-11-09 18:02:40 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 12:51:28 +08:00
2026-11-09 18:02:40 +08:00
2026-11-04 23:58:05 +08:00
2026-11-09 22:44:37 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-09 22:44:37 +08:00
2026-11-03 08:17:15 +08:00
2026-11-03 08:17:15 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 11:21:33 +08:00
2026-11-03 11:21:33 +08:00
2026-11-03 03:05:04 +08:00
2026-10-31 10:04:12 +08:00
2026-10-31 10:04:12 +08:00
2026-11-06 18:38:00 +08:00
2026-11-06 18:38:00 +08:00
2026-11-04 02:58:57 +08:00
2026-11-04 02:58:57 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-05 19:23:39 +08:00
2026-11-01 14:27:46 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 08:40:02 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 22:44:16 +08:00
2026-11-01 14:14:16 +08:00
2026-11-09 02:46:14 +08:00
2026-11-01 14:14:16 +08:00
2026-11-01 14:20:38 +08:00
2026-11-01 14:14:16 +08:00
2026-11-01 14:14:16 +08:00
2026-11-01 14:14:16 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-01 20:07:46 +08:00
2026-11-01 20:07:46 +08:00
2026-11-03 03:05:04 +08:00
2026-11-06 18:38:00 +08:00
2026-11-06 18:38:00 +08:00
2026-11-09 02:46:14 +08:00
2026-11-09 02:46:14 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00