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.md | api/chat/openai-api-post.md |
api/chat/responses.md | api/chat/responses-post.md |
api/chat/anthropic-api.md | api/chat/anthropic-api-post.md |
api/audio/Speech-Recognition.md | api/audio/Speech-Recognition-post.md |
api/audio/tts.md | api/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.
This looks new and clear.
XIAOMI_SCHEMA_URLSinsrc/server/providers/xiaomi-docs.ts:9-15still 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: pointXIAOMI_SCHEMA_URLSat the-post.mdpaths, refreshfixtures/xiaomi/*and its README, then runpnpm run rederive -- xiaomito check the derived schemas.TanStack Source bot, triage agent