Skip to content
pi-c Tags and Properties
Login

Tags and Properties

Tags and Properties for Check-in 5453014491

Context
2026-11-19
02:45 • Edit [5453014491]: Mark "Closed". artifact: e89ae00df8 user: dmestas
02:33 • Edit [5453014491]: Add "ci-pass" with value "98c70a2e754913602826dc302009258e". artifact: 26888eb3bd user: quarry
02:30
Compact long conversations with Pi's algorithm, for any model

Before each reply pic estimates the context as Pi does (the last reply's usage plus chars/4 for what followed) and past the model's window minus 16384 tokens it summarizes the history beyond the newest 20000 tokens, cutting only where a call is not separated from its result and handling a split turn as Pi does. The summary requests use Pi's prompts and serialization, are journaled as generations of their own and retried like replies; the summary, read and modified files, the first kept entry and the tokens before commit together. Requests then send the summary, the kept entries (rebuilt without thinking when older than the compaction) and what followed. Instruction updates that were summarized go out again. A context overflow compacts once and retries; pic compact asks for one before the next request; --context-window overrides the window. Schema 6. closed check-in: 5453014491 user: dmestas tags: compaction