Skip to content
pi-c Check-in [ce00efcddd]
Login

Check-in [ce00efcddd]

Overview
Comment:CI green on 54530144915b; Fil-C pass
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ce00efcddd2b4a719908dc79d8d2ed23cc16138510c86a7e294bedde79fb766a
User & Date: dmestas on 2026-11-19 02:45:17.986
Other Links: manifest | tags
Context
2026-11-19
02:51
CI green on dae7ef5eda51 check-in: 134a797840 user: dmestas tags: trunk
02:48
Join reply text blocks with a newline, as Pi's contentText does

The conversation sent for summarizing and the summary taken from the reply joined several text blocks with nothing; Pi joins them with a newline. Checked against the Pi copy in reference/pi. closed check-in: dae7ef5eda user: dmestas tags: compaction-text

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
Changes