Artifact 4268490f976c79b69b6d4d3486a7458d37938110ce913c1ff15d480f5cc971cd:
- File
test/pic/provider.sh
-
2026-11-20 00:29:28
— part of check-in
[376fd483ed]
on branch cache
— 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. (user: dmestas, size: 37035) [annotate] [blame] [check-ins using]
- 2026-11-20 02:30:30 — part of check-in [01796f84c3] on branch trunk — CI green on d3f1fb85511f; Fil-C pass (221) on ebc4b0e75a5e (user: dmestas, size: 37035) [annotate] [blame] [check-ins using]
-
2026-11-20 00:29:28
— part of check-in
[376fd483ed]
on branch cache
— Prompt caching on every provider, as Pi's