Skip to content

chore: sync model metadata from OpenRouter - #1048

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
automated/sync-models
Open

chore: sync model metadata from OpenRouter#1048
github-actions[bot] wants to merge 1 commit into
mainfrom
automated/sync-models

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Automated daily sync of model metadata from the OpenRouter API.

  • Fetches the latest model list from OpenRouter
  • Converts to the internal adapter format
  • Syncs provider-specific model metadata for affected packages
  • Creates a patch changeset for all changed packages

@github-actions
github-actions Bot requested a review from a team as a code owner August 4, 2026 08:13
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

🚀 Changeset Version Preview

23 package(s) bumped directly, 29 bumped as dependents.

🟥 Major bumps

Package Version Reason
@tanstack/ai-angular 0.3.1 → 1.0.0 Changeset
@tanstack/ai-anthropic 0.16.3 → 1.0.0 Changeset
@tanstack/ai-byteplus 0.0.0 → 1.0.0 Changeset
@tanstack/ai-durable-stream 0.0.0 → 1.0.0 Changeset
@tanstack/ai-gemini 0.20.1 → 1.0.0 Changeset
@tanstack/ai-grok 0.14.9 → 1.0.0 Changeset
@tanstack/ai-memory 0.0.0 → 1.0.0 Changeset
@tanstack/ai-openai 0.17.1 → 1.0.0 Changeset
@tanstack/ai-openrouter 0.15.10 → 1.0.0 Changeset
@tanstack/ai-persistence 0.0.0 → 1.0.0 Changeset
@tanstack/ai-preact 0.11.1 → 1.0.0 Changeset
@tanstack/ai-react 0.18.1 → 1.0.0 Changeset
@tanstack/ai-sandbox 0.2.4 → 1.0.0 Changeset
@tanstack/ai-solid 0.15.1 → 1.0.0 Changeset
@tanstack/ai-svelte 0.15.1 → 1.0.0 Changeset
@tanstack/ai-vue 0.15.1 → 1.0.0 Changeset
@tanstack/openai-base 0.9.9 → 1.0.0 Changeset
@tanstack/ai-acp 0.2.3 → 1.0.0 Dependent
@tanstack/ai-bedrock 0.1.4 → 1.0.0 Dependent
@tanstack/ai-claude-code 0.2.3 → 1.0.0 Dependent
@tanstack/ai-code-mode 0.3.8 → 1.0.0 Dependent
@tanstack/ai-code-mode-skills 0.3.11 → 1.0.0 Dependent
@tanstack/ai-codex 0.2.3 → 1.0.0 Dependent
@tanstack/ai-elevenlabs 0.2.34 → 1.0.0 Dependent
@tanstack/ai-fal 0.9.12 → 1.0.0 Dependent
@tanstack/ai-grok-build 0.2.3 → 1.0.0 Dependent
@tanstack/ai-groq 0.5.3 → 1.0.0 Dependent
@tanstack/ai-isolate-node 0.1.47 → 1.0.0 Dependent
@tanstack/ai-isolate-quickjs 0.1.47 → 1.0.0 Dependent
@tanstack/ai-mistral 0.2.3 → 1.0.0 Dependent
@tanstack/ai-ollama 0.8.16 → 1.0.0 Dependent
@tanstack/ai-opencode 0.2.3 → 1.0.0 Dependent
@tanstack/ai-react-ui 0.8.15 → 1.0.0 Dependent
@tanstack/ai-sandbox-cloudflare 0.2.4 → 1.0.0 Dependent
@tanstack/ai-sandbox-daytona 0.2.0 → 1.0.0 Dependent
@tanstack/ai-sandbox-docker 0.2.0 → 1.0.0 Dependent
@tanstack/ai-sandbox-local-process 0.2.0 → 1.0.0 Dependent
@tanstack/ai-sandbox-sprites 0.2.1 → 1.0.0 Dependent
@tanstack/ai-sandbox-vercel 0.2.0 → 1.0.0 Dependent
@tanstack/ai-solid-ui 0.7.14 → 1.0.0 Dependent

🟨 Minor bumps

Package Version Reason
@tanstack/ai 0.42.0 → 0.43.0 Changeset
@tanstack/ai-client 0.22.1 → 0.23.0 Changeset
@tanstack/ai-devtools-core 0.4.24 → 0.5.0 Changeset
@tanstack/ai-event-client 0.6.8 → 0.7.0 Changeset
@tanstack/ai-utils 0.3.1 → 0.4.0 Changeset

🟩 Patch bumps

Package Version Reason
@tanstack/ai-mcp 0.2.5 → 0.2.6 Changeset
@tanstack/ai-isolate-cloudflare 0.2.38 → 0.2.39 Dependent
@tanstack/ai-vue-ui 0.2.34 → 0.2.35 Dependent
@tanstack/preact-ai-devtools 0.1.67 → 0.1.68 Dependent
@tanstack/react-ai-devtools 0.2.67 → 0.2.68 Dependent
@tanstack/solid-ai-devtools 0.2.67 → 0.2.68 Dependent
ag-ui 0.0.2 → 0.0.3 Dependent

@nx-cloud

nx-cloud Bot commented Aug 4, 2026

Copy link
Copy Markdown

🤖 Nx Cloud AI Fix Eligible

An automatically generated fix could have helped fix failing tasks for this run, but Self-healing CI is disabled for this workspace. Visit workspace settings to enable it and get automatic fixes in future runs.

To disable these notifications, a workspace admin can disable them in workspace settings.


View your CI Pipeline Execution ↗ for commit eb7a2f4

Command Status Duration Result
nx run-many --targets=build --exclude=examples/... ❌ Failed 1m 51s View ↗

☁️ Nx Cloud last updated this comment at 2026-08-04 09:53:40 UTC

@harshlocham harshlocham left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Request changes — CI is red after this model sync

Ran the PR quality checks locally. Passing: sherif, knip, docs, kiira, oxlint, test:dts. Failing: test:types, test:lib, build/test:build.

1. Blocking — OpenRouter prediction breaks @tanstack/ai-openrouter:build / test:types

OpenRouter now advertises supported_parameters: ["prediction"] for:

  • mistralai/codestral-2508
  • openai/gpt-4o
  • openai/gpt-4o-2024-05-13
  • openai/gpt-4o-2024-08-06
  • openai/gpt-4o-2024-11-20
  • openai/gpt-4o-mini
  • openai/gpt-4o-mini-2024-07-18

The converter generates:

Pick<OpenRouterBaseOptions, ..., 'prediction', ...>

OpenRouterBaseOptions is derived from @openrouter/sdk's ChatRequest, which does not expose a prediction field. This causes TS2344 during build and cascades into the OpenRouter type tests.

The converter already documents the intended behavior: parameters not supported by the SDK should be excluded because they are stripped by the outbound schema.

Suggested fix: add 'prediction' to excludedParams in scripts/convert-openrouter-models.ts, regenerate model-meta.ts, and verify @tanstack/ai-openrouter:build and test:types pass.

2. Blocking — Anthropic tool capability map is incomplete

claude-opus-5 and claude-opus-5-fast were added to:

  • ANTHROPIC_MODELS
  • AnthropicChatModelProviderOptionsByName
  • AnthropicModelInputModalitiesByName

but not to AnthropicChatModelToolCapabilitiesByName.

As a result, the exhaustiveness check in tools-per-model-type-safety.test.ts fails.

Suggested fix: add tool capability entries for the new models and verify any other manually maintained capability maps remain exhaustive.

3. Blocking — Grok unit test is stale

GROK_CHAT_MODELS now includes grok-4.5, but grok-adapter.test.ts still asserts the previous list:

expect(GROK_CHAT_MODELS).toEqual([
  'grok-build-0.1',
  'grok-4.3',
])

Suggested fix: update the expected model list to include grok-4.5.


End with the last suggested fix and nothing else.

@github-actions
github-actions Bot force-pushed the automated/sync-models branch from eb7a2f4 to f0185c6 Compare August 5, 2026 08:11
@github-actions
github-actions Bot force-pushed the automated/sync-models branch from f0185c6 to 945eed2 Compare August 6, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants