kshitijk4poor
af0be164c1
refactor(compression): one trigger derivation for update_model and the switch-guard preview
...
`preview_threshold_tokens` restated the resolve -> floor -> compute -> cap chain that `update_model`
runs; two copies of the trigger math drift the next time a step is added — the exact bug class
#83450 fixes (the guard quoting a number the compressor will not install). `_derive_trigger` is the
single pure derivation; the auxiliary-summariser ceiling stays in `_apply_threshold_tokens_cap`
because it is per-runtime, not per-model.
The startup banner names the cap only when it set the trigger; on windows where the ratio already
sits below it "(capped at 256,000)" was noise. Comments no longer repeat the default literal.
2026-09-19 16:28:57 +05:30
..
2026-09-16 17:09:50 -07:00
2026-09-18 09:24:54 -07:00
2026-09-19 02:36:56 -07:00
2026-09-18 20:34:42 -07:00
2026-09-15 04:12:13 -07:00
2026-09-17 20:38:43 +05:30
2026-09-17 09:04:38 -07:00
2026-09-15 21:46:37 -07:00
2026-09-17 09:04:38 -07:00
2026-09-17 00:34:50 -05:00
2026-09-17 21:17:26 +05:30
2026-09-18 10:44:29 -07:00
2026-09-18 09:19:04 -07:00
2026-09-18 10:44:29 -07:00
2026-09-16 22:25:33 -07:00
2026-09-18 09:19:04 -07:00
2026-09-16 16:59:03 -07:00
2026-09-18 09:19:04 -07:00
2026-09-18 10:28:40 -07:00
2026-09-15 06:16:38 -07:00
2026-09-16 16:57:03 -07:00
2026-09-15 06:16:38 -07:00
2026-09-18 10:29:47 -07:00
2026-09-17 09:02:55 -07:00
2026-09-18 10:29:47 -07:00
2026-09-17 09:02:55 -07:00
2026-09-15 04:56:01 -07:00
2026-09-16 14:34:22 -07:00
2026-09-18 10:38:08 -07:00
2026-09-16 17:47:50 -07:00
2026-09-18 10:04:57 -07:00
2026-09-18 12:49:13 -07:00
2026-09-15 03:45:41 -07:00
2026-09-15 03:45:41 -07:00
2026-09-15 04:13:47 -07:00
2026-09-18 11:07:56 -07:00
2026-09-15 18:41:46 -07:00
2026-09-18 20:34:42 -07:00
2026-09-15 04:12:13 -07:00
2026-09-18 09:52:36 -07:00
2026-09-15 18:40:52 -07:00
2026-09-19 16:28:57 +05:30
2026-09-15 03:45:41 -07:00
2026-09-18 10:04:57 -07:00
2026-09-19 03:07:47 -07:00
2026-09-19 01:32:28 -07:00
2026-09-19 01:46:29 +05:30
2026-09-18 09:54:45 -07:00
2026-09-18 10:10:40 -07:00
2026-09-18 10:38:08 -07:00
2026-09-15 03:57:24 -07:00
2026-09-17 21:17:26 +05:30
2026-09-19 03:07:47 -07:00
2026-09-16 16:59:03 -07:00
2026-09-16 16:42:47 -07:00
2026-09-16 16:42:47 -07:00
2026-09-16 17:21:14 -07:00
2026-09-18 09:29:44 -07:00
2026-09-18 12:46:28 -07:00
2026-09-17 00:11:27 -07:00
2026-09-16 14:34:59 -07:00
2026-09-18 09:20:07 -07:00
2026-09-15 19:00:42 -07:00
2026-09-18 12:47:49 -07:00
2026-09-18 12:47:49 -07:00
2026-09-18 12:47:49 -07:00
2026-09-18 09:58:12 -07:00
2026-09-15 19:04:29 -07:00
2026-09-18 10:25:46 -07:00
2026-09-18 12:48:42 -07:00
2026-09-15 04:12:13 -07:00
2026-09-17 19:06:29 -04:00
2026-09-16 21:15:37 +05:30
2026-09-15 04:55:14 -07:00
2026-09-19 16:20:19 +05:30
2026-09-18 12:48:42 -07:00
2026-09-18 12:48:42 -07:00
2026-09-16 00:32:15 -07:00
2026-09-19 03:20:05 -07:00
2026-09-19 03:20:05 -07:00
2026-09-18 01:43:35 +05:30
2026-09-16 00:32:15 -07:00
2026-09-18 12:49:13 -07:00
2026-09-19 03:07:47 -07:00
2026-09-17 08:53:48 -07:00
2026-09-15 18:39:09 -07:00
2026-09-16 17:55:07 -07:00
2026-09-19 00:24:50 +05:30
2026-09-19 00:24:50 +05:30
2026-09-18 10:30:57 -07:00
2026-09-18 09:35:16 -07:00
2026-09-19 03:15:10 -07:00
2026-09-17 08:47:01 -07:00
2026-09-17 08:47:01 -07:00
2026-09-19 03:15:10 -07:00
2026-09-15 19:01:39 -07:00
2026-09-18 12:51:49 -07:00
2026-09-15 14:15:59 +05:30
2026-09-18 12:51:49 -07:00
2026-09-15 14:15:59 +05:30
2026-09-16 17:43:11 -07:00
2026-09-18 12:51:49 -07:00
2026-09-18 10:22:14 -07:00
2026-09-16 00:32:15 -07:00
2026-09-16 17:23:44 -07:00
2026-09-15 18:33:15 -07:00
2026-09-19 00:33:58 +05:30
2026-09-19 01:29:03 -07:00
2026-09-15 03:46:29 -07:00
2026-09-18 09:54:45 -07:00
2026-09-15 18:58:30 -07:00
2026-09-18 12:49:13 -07:00
2026-09-15 10:48:49 +05:30
2026-09-15 02:22:22 -05:00
2026-09-18 09:54:45 -07:00
2026-09-14 16:16:08 -07:00
2026-09-18 09:59:54 -07:00
2026-09-15 03:41:43 -07:00
2026-09-18 09:24:54 -07:00
2026-09-18 09:24:54 -07:00
2026-09-16 17:21:37 -07:00
2026-09-15 05:36:37 -07:00
2026-09-15 18:25:17 -07:00
2026-09-18 09:47:06 -07:00
2026-09-18 09:28:39 -07:00
2026-09-18 09:47:06 -07:00
2026-09-16 17:12:11 -07:00
2026-09-17 09:02:55 -07:00
2026-09-17 09:02:55 -07:00
2026-09-15 18:42:38 -07:00
2026-09-15 18:43:05 -07:00
2026-09-19 03:07:47 -07:00
2026-09-16 17:43:40 -07:00
2026-09-18 09:19:04 -07:00