Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fresh-openrouter-sdk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tanstack/ai-openrouter': patch
---

Update `@openrouter/sdk` to `0.13.20`. This removes the duplicate `rootDir` key from the published SDK package metadata (fixes #712) and picks up the fix to the `getVideoContent` download helper, which previously requested `Accept: application/octet-stream` and matched the streamed 200 response without a content type, so the upstream `video/mp4` body failed to match. The SDK now requests `Accept: video/mp4` and matches the stream with `ctype: "video/mp4"`.
2 changes: 1 addition & 1 deletion packages/ai-openrouter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"model-router"
],
"dependencies": {
"@openrouter/sdk": "0.12.35",
"@openrouter/sdk": "0.13.20",
"@tanstack/ai-utils": "workspace:*"
},
"devDependencies": {
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion testing/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"@copilotkit/aimock": "^1.34.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"@openrouter/sdk": "0.12.35",
"@openrouter/sdk": "0.13.20",
"@opentelemetry/api": "^1.9.0",
"@tailwindcss/vite": "^4.1.18",
"@tanstack/ai": "workspace:*",
Expand Down
Loading