Parents and children of check-in [2a29f15311]
|
2026-11-20
| ||
| 01:03 | Merge trunk (images, costs) into prompt caching check-in: ebc4b0e75a user: dmestas tags: cache | |
| 00:37 | Merge images into prompt caching check-in: 2a29f15311 user: dmestas tags: cache | |
| 00:29 |
Prompt caching on every provider, as Pi's
Anthropic: cache_control on the system block, the last tool and the last block of the final user message; 5 minutes by default, ttl 1h with cacheRetention=long, none with cacheRetention=none (setting in pic.sqlite, PI_CACHE_RETENTION as fallback). Anthropic models through OpenRouter get the same markers. OpenAI Responses and Chat Completions send prompt_cache_key (the conversation id) and 24h retention when long, as Pi does. The system prompt and tools stay byte-identical across turns, and 1-hour cache writes are kept in the stored usage. check-in: 376fd483ed user: dmestas tags: cache | |
| 00:29 |
Merge trunk (TUI round 2, live events) into images
Keeps both features where they met: tool-end events carry images and bash streams partial output; the tool hooks carry both. Fil-C builds image.c and prune.c and runs images.sh, which skips where there is no sqlite3 command (as migrate.sh does). check-in: d5076648a8 user: dmestas tags: images | |