Skip to content
Source
Sign inSign up
TanStack/schemas

Gemini: every models poll fails since Google moved the docs to aistudio.google.com #567

Closedtombeckenham opened this issue 0 comments
tombeckenhamcommented

No Gemini rows have been written since 2026-11-03 03:35 UTC, but /v1/status still shows gemini as active.

Evidence: PostHog ingest_failed (models-poll, gemini) logged gemini pricing page: parsed 0 model rows 92 times in 24h, from 2026-11-03 03:45 to 2026-11-04 03:30. Google moved the Gemini docs to aistudio.google.com (the parser port is the follow-up issue).

Cause: listModels in src/server/providers/gemini.ts awaits the pricing load (geminiModelPricing, line ~317) and the features index/thinking loads directly instead of through tryDocs (model-facts.ts). One docs failure throws away the whole listing.

Fix: wrap those docs loads in tryDocs. The rows then go unavailable(...) and are reported as docsFailures, the stored values are kept, and the listing still writes. The daily routine wrote and tested this as commit bcb265b on claude/wizardly-hamilton-r0615c, but couldn't push it because the routine still points at the old repo.

  1. tombeckenham closed this

Sign in to join this conversation.