Skip to content

Commit 1434004

Browse files
Version Packages (#354)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c49bbdb commit 1434004

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.changeset/fix-cache-control-last-text-part.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @openrouter/ai-sdk-provider
22

3+
## 2.0.3
4+
5+
### Patch Changes
6+
7+
- [#351](https://github.com/OpenRouterTeam/ai-sdk-provider/pull/351) [`ac75d1f`](https://github.com/OpenRouterTeam/ai-sdk-provider/commit/ac75d1ff825379b918d37ca09a107446fd52cf4c) Thanks [@robert-j-y](https://github.com/robert-j-y)! - fix: only apply message-level cache_control to last text part (#341)
8+
9+
When message-level cache_control is set on a user message with multiple parts, it now only applies to the last text part. Non-text parts (images, audio, files) no longer inherit message-level cache_control. Part-specific cache_control still takes precedence and works on all part types.
10+
311
## 2.0.2
412

513
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openrouter/ai-sdk-provider",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"license": "Apache-2.0",
55
"pnpm": {
66
"overrides": {

0 commit comments

Comments
 (0)