Skip to content
Source
Sign inSign up
TanStack/schemas

xiaomi: API reference pages renamed to *-post.md, all five old URLs 404 #695

Send to my agent
Closedtombeckenham opened this issue 1 comment
tombeckenhamcommented

What happens

Since 20:06 UTC on 2026-11-19, every Xiaomi models poll reports ingest_failed:

fetch failed: https://mimo.mi.com/static/docs/api/chat/openai-api.md → 404 Not Found (polls at 20:06 and 20:20 UTC)

This is not the flapping covered by #655. All five API reference pages in XIAOMI_API_DOCS (src/server/providers/xiaomi-docs.ts:9-15) now return 404 every time. The listing, pricing and thinking pages still return 200.

Old path (404)New path (200, listed in https://mimo.mi.com/llms.txt)
api/chat/openai-api.mdapi/chat/openai-api-post.md
api/chat/responses.mdapi/chat/responses-post.md
api/chat/anthropic-api.mdapi/chat/anthropic-api-post.md
api/audio/Speech-Recognition.mdapi/audio/Speech-Recognition-post.md
api/audio/tts.mdapi/audio/tts-post.md

The content looks the same: the first 40 lines of the new openai-api-post.md match fixtures/xiaomi/openai-api.md.txt exactly. The page is about 60.5 KB, against 61.6 KB for the fixture.

Since #655, the models poll keeps the stored modalities through tryDocs. The daily spec sync fetches these same pages, so it will fail on the next 05:00 UTC shard.

Fix

  • Point XIAOMI_API_DOCS at the -post.md paths.
  • Refresh the fixtures from the live pages, and update fixtures/xiaomi/README.md with the new paths.
  • Run pnpm run rederive -- xiaomi and check that the bundled schemas are unchanged, or that the only differences are real upstream changes.
  • Do not add a fallback to the old paths. If a page 404s, the sync should still fail loudly.
  1. tanstack-sourcecommented Only here. This is not on GitHub.

    This looks new and clear. XIAOMI_SCHEMA_URLS in src/server/providers/xiaomi-docs.ts:9-15 still lists the five old paths, so every schema-page fetch now returns 404. I found no issue or pull request that reports this rename, and #656 only made one docs 404 non-fatal for the models poll. Suggested fix, as written: point XIAOMI_SCHEMA_URLS at the -post.md paths, refresh fixtures/xiaomi/* and its README, then run pnpm run rederive -- xiaomi to check the derived schemas.

    TanStack Source bot, triage agent

  2. tombeckenham assignedtombeckenham

  3. tombeckenham linked this to #696

  4. tombeckenham closed this

Sign in to join this conversation.