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
12 changes: 12 additions & 0 deletions .changeset/sync-models.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'@tanstack/ai-openrouter': patch
---

Update model metadata from OpenRouter API

Releases the model-metadata syncs from #772 and #883 that were generated
without a changeset: adds Claude Sonnet 5 (`anthropic/claude-sonnet-5`),
Claude Fable 5 (`anthropic/claude-fable-5`), DeepSeek V3.2, GLM-5.2,
Kimi K2.7 Code, Qwen 3.7 Plus, Nemotron 3 Ultra, and other new models;
refreshes pricing and capability flags; and removes ids retired upstream
(e.g. `anthropic/claude-3.5-haiku`, `anthropic/claude-opus-4.6-fast`).
2 changes: 1 addition & 1 deletion scripts/sync-provider-models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ function detectChangedPackages(): Set<string> {

for (const line of diff.split('\n')) {
// packages/ai-openrouter/... β†’ @tanstack/ai-openrouter
const match = line.match(/^packages\/typescript\/([\w-]+)\//)
const match = line.match(/^packages\/([\w-]+)\//)
if (match) {
changed.add(`@tanstack/${match[1]}`)
}
Expand Down
Loading