- Add addCacheControlToLastTwoUserMessages call in systemAndToolsStrategy so the CLI path caches conversation turns (matching VS Code extension behavior) - Report prompt_cache_metrics to PostHog with cache_read/write tokens and hit rate - Add live API integration test validating cache writes on turn 1 and 99%+ hit rates on subsequent turns (guarded by ANTHROPIC_API_KEY env var) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| intellij | ||
| vscode | ||