Glucksberg
4e1a7cd60c
fix: allow multiple compaction retries on context overflow ( #8928 )
...
Previously, overflowCompactionAttempted was a boolean flag set once, preventing
recovery when a single compaction wasn't enough. Change to a counter allowing up
to 3 attempts before giving up. Also add diagnostic logging on overflow events to
help debug early-overflow issues.
Fixes sessions that hit context overflow during long agentic turns with many tool
calls, where one compaction round isn't sufficient to bring context below limits.
2026-02-05 13:58:37 -08:00
..
2026-02-01 10:03:47 +09:00
2026-02-05 13:58:37 -08:00
2026-02-05 16:54:44 -05:00
2026-02-04 00:02:25 -05:00
2026-02-01 10:03:47 +09:00
2026-02-04 16:16:34 -05:00
2026-02-05 21:23:41 +05:30
2026-02-05 16:54:44 -05:00
2026-01-30 03:16:21 +01:00
2026-02-05 16:54:44 -05:00
2026-02-05 13:08:41 -08:00
2026-02-05 13:42:52 -08:00
2026-02-05 00:51:39 -08:00
2026-02-04 10:37:14 -05:00
2026-02-05 12:33:59 -08:00
2026-02-05 16:54:44 -05:00
2026-02-02 02:07:47 -08:00
2026-02-04 16:16:34 -05:00
2026-02-05 13:42:52 -08:00
2026-02-04 16:16:34 -05:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-02-01 10:03:47 +09:00
2026-02-02 04:58:32 -08:00
2026-02-05 12:09:23 -08:00
2026-02-02 23:45:05 -08:00
2026-02-03 09:34:25 -08:00
2026-02-01 10:03:47 +09:00
2026-02-04 16:16:34 -05:00
2026-02-03 20:18:16 +09:00
2026-01-31 20:39:33 -06:00
2026-02-01 10:03:47 +09:00
2026-02-01 13:19:06 +09:00
2026-02-01 10:03:47 +09:00
2026-02-05 16:54:44 -05:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-02-04 16:16:34 -05:00
2026-02-04 16:16:34 -05:00
2026-02-05 12:09:23 -08:00
2026-02-03 06:22:51 +00:00
2026-01-30 03:16:21 +01:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-04 19:09:52 -05:00
2026-02-02 01:52:33 +01:00
2026-02-02 23:45:05 -08:00
2026-02-05 19:51:00 +09:00
2026-02-01 10:03:47 +09:00
2026-02-04 19:51:06 +00:00
2026-02-01 10:03:47 +09:00
2026-01-13 08:40:39 +00:00
2026-01-30 03:16:21 +01:00
2026-02-05 12:05:14 -08:00
2026-02-03 20:18:16 +09:00
2025-11-26 00:53:53 +01:00
2026-01-31 16:19:20 +09:00
2026-01-14 15:02:19 +00:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-14 15:02:19 +00:00
2026-02-03 06:10:19 +00:00
2026-02-02 16:18:09 +09:00
2026-01-31 16:19:20 +09:00
2026-02-03 17:31:51 -08:00