Insert cache point on openrouter+anthropic completions (#584)

Co-authored-by: nathyong <nathyong@noreply.github.com>
This commit is contained in:
nathyong 2026-01-13 09:29:33 +11:00 committed by GitHub
parent 8cb9a42067
commit 7b2c627079
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 35 additions and 0 deletions

View file

@ -5,6 +5,7 @@
### Added
- Added `serviceTier` option for OpenAI Responses requests ([#672](https://github.com/badlogic/pi-mono/pull/672) by [@markusylisiurunen](https://github.com/markusylisiurunen))
- **Anthropic caching on OpenRouter**: Interactions with Anthropic models via OpenRouter now set a 5-minute cache point using Anthropic-style `cache_control` breakpoints on the last assistant or user message. ([#584](https://github.com/badlogic/pi-mono/pull/584) by [@nathyong](https://github.com/nathyong))
## [0.44.0] - 2026-01-12