Skip to content
pi-c Timeline
Login

Timeline

Parents and children of check-in [3c23c4f6fa]

2026-11-19
12:41
CI green on a17b05aaa7ca check-in: 9d99f3d144 user: dmestas tags: trunk
12:36
Benchmark long conversations: the context estimate and a full request per API

A conversation of 100 read calls (about 200 entries, 400 KB) is built once; context/estimate-long times Pi's estimate in-process, and request/<api>-long times one whole pic run against a local server inside the benchmark (anthropic, chat, responses). Measured: the history adds about 3 ms to a request at this size (building the messages and body, sending them); the rest of a request is durable commits and process start. Baseline rows added; existing rows left as recorded. closed check-in: a17b05aaa7 user: dmestas tags: bench-long

12:16
CI green on 193e5d1a30ec; Fil-C pass check-in: 3c23c4f6fa user: dmestas tags: trunk
12:01
Write conversations as Pi v3 session files for ctx and Pi's tools

pic export --pi [DIR] writes each conversation as an append-only Pi v3 JSONL file named as Pi names them, by default under ~/.pic/sessions/ --<cwd>--/ and never in Pi's own folder: entry ids are journal entry numbers, a fork names its source file, instruction updates are custom_message entries, names are session_info, compactions are Pi compaction entries. Exporting again appends only finished entries after the last one written, after cutting a torn last line. ask and the line mode export their conversation after each request (PIC_PI_EXPORT=0 turns that off).

Also fixes compaction file lists: they were stored as JSON text rather than arrays, so a later compaction did not carry the earlier read and modified files forward. Lists already stored that way are read either way. closed check-in: 193e5d1a30 user: dmestas tags: pi-export

11:46
CI green on dc583648f4b7; Fil-C pass check-in: 3f3d884187 user: dmestas tags: trunk