Skip to content

fix(xiaomi): map models provided mimo token plan as xiaomi models#1501

Merged
looplj merged 4 commits into
looplj:unstablefrom
trim21:feat/add-mimo-v2.5-models
Apr 26, 2026
Merged

fix(xiaomi): map models provided mimo token plan as xiaomi models#1501
looplj merged 4 commits into
looplj:unstablefrom
trim21:feat/add-mimo-v2.5-models

Conversation

@trim21

@trim21 trim21 commented Apr 26, 2026

Copy link
Copy Markdown
Contributor

#1499

the upsteam do have these mimo v2.5 models, but them exist in mimo-token-plan-cn so I add a mapping from it

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds several new Xiaomi models (mimo-v2.5-pro, mimo-v2.5, and mimo-v2-tts) to the providers configuration and resets the costs for existing models to zero. It also updates the synchronization script to merge models from specific Xiaomi token plans into the main Xiaomi provider entry. Feedback was provided regarding inconsistencies in the family field for the new models and a potential discrepancy between the attachment flag and supported modalities for the Pro version.

{
"id": "mimo-v2.5-pro",
"name": "MiMo-V2.5-Pro",
"family": "mimo-v2.5-pro",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The family field for mimo-v2.5-pro is inconsistent with other Xiaomi models in this file (which use mimo). This may affect how models are grouped or filtered in the user interface.

Suggested change
"family": "mimo-v2.5-pro",
"family": "mimo",

{
"id": "mimo-v2.5",
"name": "MiMo-V2.5",
"family": "mimo-v2.5",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The family field for mimo-v2.5 is inconsistent with other Xiaomi models (which use mimo). For consistent grouping in the UI, it should match the rest of the series.

Suggested change
"family": "mimo-v2.5",
"family": "mimo",

Comment on lines +12687 to +12689
"input": [
"text"
],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There is a discrepancy between the attachment: true flag and the listed modalities for mimo-v2.5-pro. Since the base mimo-v2.5 model supports image, audio, video, and pdf, the Pro version should likely support these as well, or at least pdf if it supports file attachments.

@looplj looplj merged commit e3f008f into looplj:unstable Apr 26, 2026
@trim21 trim21 deleted the feat/add-mimo-v2.5-models branch April 26, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants