You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overflow recovery: removed session.summarize() call on 'prompt too long' errors — it sent all messages to the model causing an overflow→compact→overflow stuck loop. Now just distills + sets forceMinLayer(2); gradient layers 2-4 handle compression on the next turn.
Chunked /compact: the compacting hook now runs chunked distillation first, injects pre-computed summaries into output.context, and instructs the model to consolidate them rather than re-reading raw messages. Prevents overflow during /compact on large sessions.
Broader error detection: matches both error.data.message and error.message shapes; adds more overflow message patterns; adds diagnostic logging to stderr.
New export: distillation.loadForSession() for reading distillation rows without going through gradient internals.