fix(xiaomi-token-plan): remove mimo-v2-omni (not served by token-plan endpoints)#3058
Open
kelvinq wants to merge 1 commit into
Open
fix(xiaomi-token-plan): remove mimo-v2-omni (not served by token-plan endpoints)#3058kelvinq wants to merge 1 commit into
kelvinq wants to merge 1 commit into
Conversation
… endpoints) The token-plan endpoints do not serve mimo-v2-omni. Requests return HTTP 400 "Not supported model mimo-v2-omni". The model is pay-as-you-go only and stays under providers/xiaomi/. Also drop the stale "V2 Omni" mention from the three token-plan provider.toml comments. Validated with bun validate.
nathannli
reviewed
Jul 6, 2026
nathannli
left a comment
There was a problem hiding this comment.
don't think this is right. you should be deprecating models when they're no longer provided, not deleting them:
status (optional): String — Supported status:
alpha - Indicate the model is in alpha testing
beta - Indicate the model is in beta testing
deprecated - Indicate the model is no longer served by the provider's public API
Author
|
Hi @nathannli. They have been deprecated since 30 Jun 2026. See: https://mimo.mi.com/docs/en-US/quick-start/summary/model |
Collaborator
|
generally we have been making models as deprecated if they have been deprecated but still serve traffic but if the model is completely dead and wont work at all we drop it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The three
xiaomi-token-plan-*providers listmimo-v2-omni, but their endpoints don't serve it. Requests return:{"error": {"code": "400", "message": "Param Incorrect", "param": "Not supported model mimo-v2-omni"}}mimo-v2-omniis pay-as-you-go only and lives underproviders/xiaomi/. The token-plan endpoints serve only the v2.5 family.Probed the SGP token-plan endpoint on 2026-07-06:
GET /v1/modelsreturns 6 models, all v2.5-family:mimo-v2.5,mimo-v2.5-asr,mimo-v2.5-pro,mimo-v2.5-tts,mimo-v2.5-tts-voiceclone,mimo-v2.5-tts-voicedesign. Nomimo-v2-omni.POST /v1/chat/completionswithmimo-v2.5-proreturns HTTP 200 (positive control).POST /v1/chat/completionswithmimo-v2-omnireturns HTTP 400 with the body above.I only probed the SGP endpoint live. The three token-plan providers share one upstream catalog. The
amsandsgpmodel files are symlinks to thecnfile, so this removes the model from all three in one change.This mirrors the earlier
mimo-v2-flashremoval (earendil-works/pi#5075), which removed a pay-as-you-go-only model from the token-plan providers. That entry also came up in a comment, so this PR updates the threeprovider.tomlcomments that mentioned "V2 Omni".Tracked upstream in earendil-works/pi#6204.
Validated with
bun validate.