Skip to content
Source
Sign inSign up
TanStack/schemas

Classify non-chat Gemini models, and fill published dates and prices #667

Mergedtombeckenhammerged 2 commits intomain fromrefs/pull/667/headmerged by tombeckenham View on GitHub

tombeckenhamcommented

Fixes #661

Gemini models that share generateContent were all tagged chat. Music (Lyria), image (Nano Banana), video (Omni), transcription, and Live / native-audio models are now audio, image, or video. The activity enum is unchanged. aqa and robotics stay chat. A Live-only model stores no schema endpoint, because the discovery document has no bidiGenerateContent route. Omni binds generateContent when that method is present. Veo stays on :predictLongRunning.

releasedAt uses the deprecations page's Release date column when the curated map has no date. A month with no day is the first of that month. A model the page does not date keeps its stored date, and firstSeenAt still covers one that was never dated. A -latest alias is not given the target's date.

A changelog alias with no price of its own takes the target's card (gemini-flash-latest, gemini-pro-latest). A recommended replacement is still not a rate. Automatic routing still copies one hop of the successor's Standard card.

gpt-6.1-terra parses. The page restates the Cache writes cell as the 30-minute rate and also quotes a 12-hour retention, which this card does not model. gpt-4o-2024-11-20 and gpt-5-search-api-2025-10-14 stay unpriced: OpenAI prices the alias and the default snapshot, and search pricing names gpt-5-search-api only.

The catalogue picks this up on the next Gemini and OpenAI poll.

    1. Warning

      Review limit reached

      You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

      Next included review available in 11 minutes.

      Check out review usage here.

      View limit details

      Limit details: You’ve used the included review currently available.

      Learn how review limits work.

      Review configuration:

      Run configuration

      • Source mode: Auto
      • Repository: Unavailable
      • Branch: Unavailable
      • File: No configuration file from this repository applied
      • Commit: Unavailable
      • Layers: defaults
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: bc25f675-bfbc-494c-904e-f77926e9fc05
      Commits

      Reviewing files that changed from the base of the PR and between ad876ab0f9b1ac461869e8f0a44d995a5899aac9 and aa696b1ccafc56b293046fe499d1c6765cbcb9d7.

      Files selected for processing: 10

      • src/server/providers/classify.test.ts
      • src/server/providers/gemini-bindings.test.ts
      • src/server/providers/gemini-bindings.ts
      • src/server/providers/gemini-pricing.ts
      • src/server/providers/gemini.ts
      • src/server/providers/model-facts.test.ts
      • src/server/providers/model-meta.test.ts
      • src/server/providers/model-meta.ts
      • src/server/providers/openai-model-docs.ts
      • src/server/providers/release-dates.ts
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      Share

    2. tombeckenham linked this to fix #661

    3. ⚠️ No Changeset found

      Latest commit: aa696b1ccafc56b293046fe499d1c6765cbcb9d7

      Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

      This PR includes no changesets

      When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

      Click here to learn what changesets are, and how to add one.

      Click here if you're a maintainer who wants to add a changeset to this PR

    4. tombeckenham merged thisfa44880

    5. tombeckenham closed this

Sign in to join this conversation.