Skip to content

0.2.1

Choose a tag to compare

@BYK BYK released this 24 Feb 21:53
· 114 commits to main since this release
0.2.1
2438a07

Fixes

  • 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.