Skip to content
pi-c Tags and Properties
Login

Tags and Properties

Tags and Properties for Check-in d3f1fb8551

Context
2026-11-20
02:30 • Edit [d3f1fb8551]: Mark "Closed". artifact: bf0f6b50de user: dmestas
02:30 • Edit [d3f1fb8551]: Add "ci-pass" with value "00ae97028af72853a3c15740fefa0e21". artifact: 01a88a114a user: quarry
02:23
Merge trunk (gcc builds) into prompt caching closed check-in: d3f1fb8551 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