ygd58
812236bff8
fix(compressor): skip compression during summary LLM cooldown to prevent CLI freeze
...
When the summary LLM hits a 429/transient failure, _generate_summary() sets
a cooldown and returns None; compress() inserts a static fallback marker and
returns. Tokens stay above threshold, so should_compress() kept returning
True and every subsequent agent turn re-fired _compress_context() — the CLI
appeared frozen until the cooldown expired.
Add a cooldown guard to should_compress(): return False while
_summary_failure_cooldown_until is in the future. Reuses the existing float;
no new state. Manual /compress (force=True) still clears the cooldown first.
Fixes #11529
2026-06-30 15:57:59 -07:00
..
2026-06-19 11:37:51 -07:00
2026-06-22 15:26:29 +05:30
2026-06-07 02:15:23 -07:00
2026-05-28 22:26:25 -07:00
2026-06-28 01:15:21 -07:00
2026-06-27 21:07:53 -07:00
2026-06-27 19:37:33 -07:00
2026-06-28 00:57:42 -07:00
2026-06-30 01:43:40 -07:00
2026-05-28 22:26:25 -07:00
2026-06-16 06:23:24 -07:00
2026-06-20 11:38:01 -07:00
2026-06-22 14:54:53 -07:00
2026-06-30 15:30:06 -07:00
2026-06-21 11:35:09 -07:00
2026-06-08 09:41:34 -07:00
2026-06-21 16:39:02 -07:00
2026-05-28 22:26:25 -07:00
2026-06-18 21:37:52 -07:00
2026-05-28 22:26:25 -07:00
2026-06-25 12:56:05 -07:00
2026-05-28 22:26:25 -07:00
2026-06-25 13:08:18 -07:00
2026-06-27 03:04:26 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-06-27 19:23:15 -07:00
2026-06-21 11:29:49 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-06-12 01:06:46 -07:00
2026-06-21 18:05:07 -07:00
2026-05-29 19:23:05 -07:00
2026-05-28 22:26:25 -07:00
2026-06-27 04:39:26 -07:00
2026-06-24 23:02:48 -05:00
2026-06-14 03:20:25 -07:00
2026-06-27 19:07:02 -07:00
2026-06-22 18:23:21 -05:00
2026-06-25 12:56:05 -07:00
2026-06-30 15:57:59 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-06-07 22:17:35 -07:00
2026-06-17 01:04:26 +08:00
2026-06-16 10:37:37 -07:00
2026-06-30 04:22:56 -07:00
2026-06-30 04:23:27 -07:00
2026-06-30 12:07:01 -07:00
2026-06-07 21:50:57 -07:00
2026-06-18 15:46:19 +05:30
2026-06-06 13:18:18 +05:30
2026-06-12 12:21:29 -07:00
2026-06-28 01:15:21 -07:00
2026-06-08 01:25:35 -07:00
2026-05-31 17:46:56 -05:00
2026-06-30 03:27:41 -07:00
2026-06-21 22:43:48 -07:00
2026-05-28 22:26:25 -07:00
2026-05-31 06:14:32 -07:00
2026-06-07 22:22:01 -07:00
2026-05-28 22:26:25 -07:00
2026-06-30 15:57:52 -07:00
2026-06-30 15:57:46 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-06-19 18:06:38 -04:00
2026-06-05 20:59:36 -05:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-06-28 22:52:46 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-06-28 02:05:20 -07:00
2026-06-27 04:39:26 -07:00
2026-06-13 14:35:00 -07:00
2026-06-10 12:39:44 -07:00
2026-05-28 22:26:25 -07:00
2026-05-28 22:26:25 -07:00
2026-06-24 02:15:57 +05:30
2026-05-29 03:44:49 -07:00
2026-06-27 22:03:14 -07:00
2026-05-28 22:26:25 -07:00
2026-06-07 21:50:57 -07:00