Teknium
91e550b0cf
fix(model_metadata): generalize pre-catalog stale context-cache guard
...
Replaces the per-model _model_name_suggests_grok_4_3/_grok_4_6/
_minimax_m3 stale-cache predicates with one generic
_stale_pre_catalog_cache_entry() guard driven by
_PRE_CATALOG_STALE_KEYS. A cached context length is dropped when the
model resolves (longest-key-first, same as step 8) to a listed catalog
key and the cached value is at or below what the old resolution path
could have produced (largest shorter matching catch-all, or the 256K
fallback).
Also covers qwen3.6-plus, grok-4-fast, and grok-4.20 (the models
PR #37684 requested guards for), absorbing that PR.
_model_name_suggests_minimax_m3 is kept for its two non-cache callers
(models.dev underreport guard, cache-control gating in
agent_runtime_helpers).
2026-08-13 10:21:50 -07:00
..
2026-08-01 21:17:51 -04:00
2026-08-08 18:11:02 -07:00
2026-08-12 19:13:32 -07:00
2026-08-10 12:43:46 -07:00
2026-08-07 10:11:05 -07:00
2026-08-13 03:04:31 -07:00
2026-08-13 15:24:47 +05:30
2026-08-13 02:03:40 -07:00
2026-08-13 15:24:47 +05:30
2026-08-02 10:02:33 -07:00
2026-08-09 16:13:52 +05:30
2026-08-10 10:45:44 -07:00
2026-08-12 19:13:32 -07:00
2026-08-12 18:38:25 -07:00
2026-08-13 01:51:24 -07:00
2026-08-12 12:42:39 +05:30
2026-08-09 16:20:48 +05:30
2026-08-08 23:09:45 +05:30
2026-08-12 18:41:59 -07:00
2026-08-09 22:29:39 +05:30
2026-08-13 03:04:31 -07:00
2026-08-12 11:04:45 -07:00
2026-08-08 19:17:02 -07:00
2026-08-08 12:32:23 -07:00
2026-08-08 15:10:35 +05:30
2026-08-03 18:21:17 +05:30
2026-08-06 03:16:26 +05:30
2026-08-13 09:34:36 -07:00
2026-08-13 09:36:02 -07:00
2026-08-08 05:21:09 -07:00
2026-08-12 11:04:45 -07:00
2026-08-05 17:21:01 -07:00
2026-08-08 14:49:28 -07:00
2026-08-12 19:13:32 -07:00
2026-08-03 18:45:43 +05:30
2026-08-02 22:15:20 +05:30
2026-08-08 05:09:43 -07:00
2026-08-03 20:35:47 +05:30
2026-08-07 16:57:11 +05:30
2026-08-13 15:24:47 +05:30
2026-08-13 10:21:50 -07:00
2026-08-12 14:42:00 -04:00
2026-08-13 03:04:45 -07:00
2026-08-02 15:01:11 -07:00
2026-08-12 16:25:20 -07:00
2026-08-12 18:38:25 -07:00
2026-08-13 01:06:51 -05:00
2026-08-09 15:25:12 +05:30
2026-08-13 15:24:47 +05:30
2026-08-06 22:02:37 -05:00
2026-08-12 13:37:04 -04:00
2026-08-12 18:55:14 -07:00
2026-08-08 23:46:17 -07:00
2026-08-12 19:19:54 -07:00
2026-08-08 23:46:17 -07:00
2026-08-02 09:59:52 -07:00
2026-08-02 16:16:36 -07:00
2026-08-13 09:36:02 -07:00
2026-08-09 15:25:12 +05:30
2026-08-06 03:16:26 +05:30
2026-08-08 15:10:24 +05:30
2026-08-02 22:15:20 +05:30
2026-08-03 20:43:34 +05:30
2026-08-12 16:34:58 -07:00
2026-08-06 23:08:23 -05:00
2026-08-09 04:33:58 -05:00
2026-08-03 22:53:32 +05:30
2026-08-13 09:34:36 -07:00
2026-08-13 09:34:36 -07:00
2026-08-12 19:01:30 -07:00
2026-08-12 19:13:32 -07:00
2026-08-12 19:13:32 -07:00
2026-08-09 04:33:58 -05:00
2026-08-08 12:31:19 -07:00
2026-08-08 11:24:45 -07:00
2026-08-12 13:58:26 +05:30
2026-08-07 10:11:05 -07:00
2026-08-12 01:15:25 -07:00
2026-08-08 14:49:28 -07:00
2026-08-12 19:13:32 -07:00
2026-08-12 19:13:32 -07:00