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