Tags and Properties for Check-in ebc4b0e75a
- branch=cache inherited from [376fd483ed]
- ci-fail=87f64e9a0df37721a4d1df9a328cac6c added by [d2270816fe] on 2026-11-20 01:11:50
- sym-cache inherited from [376fd483ed]
Context
|
2026-11-20
| ||
| 01:11 | • Edit [ebc4b0e75a]: Add "ci-fail" with value "87f64e9a0df37721a4d1df9a328cac6c". artifact: d2270816fe user: quarry | |
| 01:03 | Merge trunk (images, costs) into prompt caching check-in: ebc4b0e75a 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 | |