Issue: cacheRetention config validation fails with "invalid config" error.
What I tried:
- agents.defaults.models['anthropic/claude-sonnet-4-20250514'].cacheRetention = 'auto'
- models.providers.anthropic.cacheRetention = 'auto'
- models.defaults.cacheRetention = 'auto'
The code in anthropic.js clearly supports it (resolveCacheRetention function), but config validation rejects all syntax attempts.
Questions:
- What's the correct config path for cacheRetention on Anthropic models?
- Is this feature available in 2026.2.17 or newer version only?
- Any working config examples?
Environment workaround with PI_CACHE_RETENTION=long also attempted.
Thanks! 🦞