BB-light
e9d52d2bda
fix(caching): honor prompt_caching.cache_ttl disable in config
...
Setting prompt_caching.cache_ttl to a falsy value (false, null, off,
disabled, no, none) now fully disables prompt caching instead of
being silently ignored.
The disable propagates through anthropic_prompt_cache_policy() (early
return when _cache_disabled flag is set) and restore_primary_runtime()
(override after snapshot restore), so it survives /model switches and
fallback re-derivation — the gap that caused #56105 to be reverted in
#56126 .
Salvage of #33555 by @BB-light, with model-switch/fallback survival
gap fixed on top.
Co-authored-by: BB-light <BB-light@users.noreply.github.com >
2026-08-01 14:14:15 +05:30
..
2026-07-29 15:28:15 -07:00
2026-07-25 02:30:20 +00:00
2026-07-24 11:45:57 -07:00
2026-07-29 10:14:11 -07:00
2026-07-31 22:53:20 -07:00
2026-07-22 10:58:22 -07:00
2026-08-01 14:14:15 +05:30
2026-08-01 14:14:15 +05:30
2026-07-27 11:53:48 -04:00
2026-07-18 20:01:55 +05:30
2026-07-16 04:23:12 -07:00
2026-07-31 22:35:26 -07:00
2026-07-26 23:41:54 -07:00
2026-07-31 22:33:03 -07:00
2026-07-21 13:54:11 -05:00
2026-07-23 11:45:07 -07:00
2026-07-22 18:08:59 -05:00
2026-07-29 11:53:39 -07:00
2026-07-29 11:53:39 -07:00
2026-07-31 22:35:26 -07:00
2026-07-31 22:53:20 -07:00
2026-07-29 16:41:39 -03:00
2026-07-29 15:28:15 -07:00
2026-07-26 18:06:21 -07:00
2026-07-31 23:18:12 -07:00
2026-07-23 19:44:35 -07:00
2026-07-27 22:55:18 -05:00
2026-07-28 20:04:58 +05:30
2026-07-31 22:53:20 -07:00
2026-07-24 17:10:39 -07:00
2026-07-31 22:32:48 -07:00
2026-07-24 17:10:39 -07:00
2026-07-28 21:36:23 +00:00
2026-07-31 22:34:57 -07:00
2026-07-29 15:28:15 -07:00
2026-07-31 22:32:55 -07:00
2026-07-18 12:28:59 -07:00
2026-07-31 21:52:35 -07:00
2026-07-17 13:49:12 -07:00
2026-07-22 04:40:07 -07:00
2026-07-28 18:17:56 -07:00
2026-07-26 20:59:16 -07:00
2026-07-29 15:28:15 -07:00
2026-07-29 15:28:15 -07:00
2026-07-23 08:32:09 -07:00
2026-07-28 18:47:54 +05:30
2026-07-26 12:54:45 -07:00
2026-07-14 16:47:33 +05:30
2026-07-29 11:53:39 -07:00
2026-07-16 07:57:51 -07:00
2026-07-23 08:19:14 -07:00
2026-07-24 13:00:53 +05:30
2026-07-29 12:29:39 -07:00
2026-07-31 21:52:36 -07:00
2026-07-31 23:16:58 -07:00
2026-07-29 19:48:37 -07:00
2026-07-20 11:05:52 -07:00
2026-07-24 17:10:39 -07:00
2026-07-22 12:10:58 -05:00
2026-07-29 15:28:15 -07:00
2026-07-16 01:13:43 -07:00
2026-07-31 21:31:51 -07:00
2026-07-28 20:04:58 +05:30
2026-07-10 05:41:59 -05:00
2026-07-28 20:04:58 +05:30
2026-07-31 21:31:10 -07:00
2026-07-31 21:52:35 -07:00
2026-07-28 10:19:53 -07:00
2026-07-27 21:10:51 -07:00
2026-07-19 08:25:35 +05:30
2026-07-29 10:13:50 -07:00
2026-07-16 04:32:23 -07:00
2026-07-22 04:39:17 -07:00
2026-07-26 20:36:47 -07:00
2026-07-28 03:44:17 -05:00
2026-07-29 15:28:15 -07:00
2026-07-29 13:01:36 -07:00
2026-07-24 15:53:38 -07:00
2026-07-17 18:31:09 +00:00
2026-07-29 11:53:39 -07:00
2026-07-22 08:11:09 +05:30
2026-07-28 01:10:05 +05:30
2026-07-16 01:07:29 +05:30
2026-07-29 15:28:15 -07:00
2026-07-16 04:26:32 -07:00
2026-07-31 22:32:52 -07:00
2026-07-26 21:27:45 -07:00
2026-07-11 05:41:58 -07:00
2026-07-24 11:45:57 -07:00
2026-07-14 02:59:39 +05:30
2026-07-14 02:59:39 +05:30
2026-07-28 08:10:58 -07:00
2026-07-31 23:18:12 -07:00
2026-07-31 22:31:09 -07:00
2026-07-26 17:47:51 -07:00
2026-07-29 19:48:37 -07:00
2026-07-29 18:13:09 -07:00
2026-07-30 15:20:09 -07:00
2026-07-14 02:59:39 +05:30
2026-07-29 15:28:15 -07:00
2026-07-29 15:28:15 -07:00