pi-c

Timeline
Login

Timeline

Parents and children of check-in [5453014491]

2026-11-19
02:45
CI green on 54530144915b; Fil-C pass check-in: ce00efcddd user: dmestas tags: trunk
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

02:07
CI green on ffaf5a4afb70 check-in: 91916aa053 user: dmestas tags: trunk