Skip to content
Source
Sign inSign up
TanStack/schemas

Gemini: port the docs parsers to the new aistudio.google.com pages #568

Closedtombeckenham opened this issue 0 comments
tombeckenhamcommented

Follow-up to the Gemini poll fix. Until this lands, Gemini pricing, reasoning, modalities and server tools stay at their stored values.

What each parser now gets from its old URL:

ParserOld URL now gives
parseGeminiPricing (gemini-pricing.ts)A redirect to aistudio.google.com/docs/pricing, served as Markdoc ({% tabs %}, {% table %} lists) with no models-section divs. Parses to 0 rows.
Models index (gemini-features.ts)models.md.txt redirects to aistudio.google.com/docs/models.md, which has no ai.google.dev/.../models/ links. Gives "0 slugs".
Thinking pagegenerate-content/thinking.md.txt redirects to the docs home page.
Model pages/docs/models/<id>.md, now Markdoc. Each parser needs re-checking.
Deprecations (gemini-bindings.ts)Still parses, but the routes look thin (only two flash routes). Needs checking.
Gemma model card, live guidemodel_card_4.md.txt and live-guide.md.txt return 404 and need their new URLs.

This touches pricing, so plan it by hand rather than as an unattended fix. Parsers stay fail-closed.

  1. tombeckenham closed this

Sign in to join this conversation.