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-30 03:24:58 -07:00
2026-06-30 15:46:41 -05:00
2026-06-23 10:32:27 -07:00
2026-06-30 04:49:29 -07:00
2026-06-22 09:57:16 -07:00
2026-06-27 22:52:29 -07:00
2026-06-29 21:33:00 +10:00
2026-06-29 15:51:57 -07:00
2026-06-30 15:36:58 -07:00
2026-06-30 15:57:52 -07:00
2026-06-25 16:29:09 -07:00
2026-06-22 19:16:47 -05:00
2026-06-29 10:00:49 -07:00
2026-06-24 18:53:49 +05:30
2026-06-30 15:55:11 -07:00
2026-06-16 13:09:40 -07:00
2026-06-30 15:57:59 -07:00
2026-06-27 15:59:00 -07:00
2026-06-22 12:14:30 -07:00
2026-06-30 15:51:17 -07:00
2026-06-30 03:11:13 -07:00
2026-06-19 07:46:33 -07:00
2026-06-15 11:55:02 -04:00
2026-06-13 14:50:05 -07:00
2026-06-24 04:16:54 +05:30
2026-06-19 18:06:38 -04:00
2026-06-21 12:09:16 -07:00
2026-06-17 18:48:35 -05:00
2026-06-14 00:27:59 -04:00
2026-06-28 15:38:39 -07:00
2026-06-27 15:59:00 -07:00
2026-06-28 13:49:08 -07:00
2026-06-28 22:35:56 -07:00
2026-06-30 13:36:29 +05:30
2026-06-30 20:11:01 +07:00
2026-06-25 23:49:11 -07:00
2026-06-18 22:11:35 +05:30
2026-06-23 21:33:08 -07:00
2026-06-18 16:26:34 +07:00
2026-06-28 03:58:01 -07:00
2026-06-18 14:14:41 +10:00
2026-06-26 20:10:20 +05:30
2026-06-25 23:49:11 -07:00
2026-06-24 23:51:31 +05:30
2026-06-25 13:52:06 -07:00
2026-06-28 22:52:59 -07:00
2026-06-30 03:26:41 -07:00
2026-06-18 09:16:40 -07:00
2026-06-30 15:30:06 -07:00
2026-06-29 00:25:36 -07:00
2026-06-25 00:17:17 -07:00
2026-06-27 22:43:26 -07:00
2026-06-26 19:15:18 -07:00
2026-06-24 04:16:54 +05:30
2026-06-25 21:18:41 -07:00
2026-06-14 03:20:21 -07:00
2026-06-28 02:35:01 -07:00
2026-06-25 12:29:49 -05:00
2026-06-29 20:31:17 -07:00
2026-06-28 04:14:12 -07:00
2026-06-18 05:41:23 -07:00
2026-06-30 03:11:13 -07:00
2026-06-30 01:35:55 -05:00
2026-06-25 23:27:44 +05:30
2026-06-12 02:06:47 -07:00