Skip to content
Source
Sign inSign up
TanStack/ai

chore: sync model metadata #2072

Opengithub-actions[bot](GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/2072/headopened View on GitHub

Automated daily sync of model metadata from OpenRouter, Vercel AI Gateway, Lovable AI Gateway, LLM Gateway, Neon AI Gateway, and modelschemas (ElevenLabs text-to-speech, music, sound effects, and voice design).

  • Fetches the latest model list from OpenRouter (chat + GET /api/v1/videos/models)
  • Fetches the latest model list from Vercel AI Gateway
  • Fetches the latest model list from Lovable AI Gateway
  • Fetches the latest model list from LLM Gateway (GET /v1/models)
  • Fetches the latest model list from Neon AI Gateway
  • Converts to the internal adapter format
  • Syncs provider-specific model metadata for affected packages
  • Inserts new ElevenLabs text-to-speech, music, sound-effect, and voice-design models from modelschemas
  • Creates a patch changeset for all changed packages
    1. Pushedf88580f

    2. Pushed9bfbe64

    3. Pushedff30eb8

    4. Pushed566d614

    5. Pushed08b46df

    6. Pushed2213318

    7. Pushed17da84f

    8. Pushed91eae92

    9. Pushedb0ce36c

    10. Pushed55475b2

    11. tanstack-source reviewed

      tanstack-sourcecommented Only here. This is not on GitHub.

      GPT-6.2 catalog rows omit reasoning data.

      openAIModelRejectsSamplingParams then returns false for those ids.

      The adapter sends temperature and skips chat({ reasoning }).

      TanStack Source bot, review agent

      @@ -2747,0 +2766,21 @@
      2766+ 'local_shell',
      2767+ 'shell',
      2768+ 'apply_patch',
      2769+ ],
      2770+ },
      2771+ pricing: {
      2772+ input: {
      2773+ normal: 8,
      2774+ cached: 0.4,
      2775+ },
      2776+ output: {
      2777+ normal: 40,
      2778+ },
      2779+ },
      2780+} as const satisfies ModelMeta<
      2781+ OpenAIBaseOptions &
      2782+ OpenAIStructuredOutputOptions &
      2783+ OpenAIToolsOptions &
      2784+ OpenAIStreamingOptions &
      2785+ OpenAIMetadataOptions
      2786+>
      tanstack-sourcecommented Only here. This is not on GitHub.

      GPT-6.2 Astra supports reasoning. OpenRouter lists reasoning and omits temperature.

      gpt-6-astra and gpt-6.1-sol use EFFORT_LOW_TO_MAX. LLM Gateway does the same for gpt-6.2.

      Without this field, OPENAI_REASONING stays empty for these ids. The adapter then sends temperature. Summarize hits a 400.

      1. Add reasoning: EFFORT_LOW_TO_MAX to GPT_6_2_ASTRA, GPT_6_2_ASTRA_PRO, GPT_6_2_SOL, and GPT_6_2_SOL_PRO.
      2. Add those four names to OPENAI_REASONING.
      3. Add the four names to packages/ai-openai/tests/model-sampling-support.test.ts.
      Suggested change
      2785- OpenAIMetadataOptions
      2786->
      2785+ },
      2786+ reasoning: EFFORT_LOW_TO_MAX,
      2787+} as const satisfies ModelMeta<
    1. Pushed9c5078d

    2. tanstack-source reviewed

      tanstack-sourcecommented Only here. This is not on GitHub.

      GPT-6.2 rows omit reasoning data.

      openAIModelRejectsSamplingParams then returns false for those ids.

      The adapter sends temperature and skips chat({ reasoning }).

      TanStack Source bot, review agent

      @@ -2747,0 +2760,21 @@
      2760+ 'file_search',
      2761+ 'image_generation',
      2762+ 'code_interpreter',
      2763+ 'mcp',
      2764+ 'computer_use',
      2765+ 'computer',
      2766+ 'local_shell',
      2767+ 'shell',
      2768+ 'apply_patch',
      2769+ ],
      2770+ },
      2771+ pricing: {
      2772+ input: {
      2773+ normal: 8,
      2774+ cached: 0.4,
      2775+ },
      2776+ output: {
      2777+ normal: 40,
      2778+ },
      2779+ },
      2780+} as const satisfies ModelMeta<
      tanstack-sourcecommented Only here. This is not on GitHub.

      GPT-6.2 Astra supports reasoning. OpenRouter lists reasoning and omits temperature.

      gpt-6-astra and gpt-6.1-sol use EFFORT_LOW_TO_MAX. LLM Gateway does the same for gpt-6.2.

      Without this field, OPENAI_REASONING stays empty for these ids. The adapter then sends temperature. Summarize hits a 400.

      1. Add reasoning: EFFORT_LOW_TO_MAX to GPT_6_2_ASTRA, GPT_6_2_ASTRA_PRO, GPT_6_2_SOL, and GPT_6_2_SOL_PRO.
      2. Add those four names to OPENAI_REASONING.
      3. Add the four names to packages/ai-openai/tests/model-sampling-support.test.ts.
      Suggested change
      2779- },
      2780-} as const satisfies ModelMeta<
      2779+ },
      2780+ reasoning: EFFORT_LOW_TO_MAX,
      2781+} as const satisfies ModelMeta<

Sign in to join this conversation.