feat: add MiniMax-M2.7 and MiniMax-M2.7-highspeed model support#1570
Merged
SebConejo merged 2 commits intomnfst:mainfrom Apr 17, 2026
Merged
feat: add MiniMax-M2.7 and MiniMax-M2.7-highspeed model support#1570SebConejo merged 2 commits intomnfst:mainfrom
SebConejo merged 2 commits intomnfst:mainfrom
Conversation
- Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to KNOWN_ALIASES in model-name-normalizer for mixed-case resolution - Add both models to minimax subscription knownModels config - Add minimax-m2.7 and minimax-m2.7-highspeed to curated model list in PurgeNonCuratedModels migration - Update MiniMax provider subtitle to reference M2.7 as the latest - Update tests to cover new M2.7 alias resolution
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1570 +/- ##
==========================================
+ Coverage 97.94% 98.01% +0.06%
==========================================
Files 118 119 +1
Lines 8616 8967 +351
Branches 3242 3372 +130
==========================================
+ Hits 8439 8789 +350
- Misses 175 176 +1
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
3 tasks
Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to the expected model list in buildSubscriptionFallbackModels test assertion.
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.
Summary
MiniMax-M2.7andMiniMax-M2.7-highspeedtoKNOWN_ALIASESinmodel-name-normalizer.tsfor mixed-case model name resolutionminimax.knownModelsinpackages/shared/src/subscription/configs.tsso they appear as known models for the MiniMax Coding Plan subscriptionminimax-m2.7andminimax-m2.7-highspeedto the curated model allowlist inPurgeNonCuratedModelsmigration so they survive the DB cleanup passMiniMax-M2.7 is MiniMax's newest flagship model (Peak Performance. Ultimate Value. Master the Complex). MiniMax-M2.7-highspeed is the faster variant. Without these entries the model names returned by the MiniMax API are not normalized correctly and would be filtered out by the curated-models migration.
Test plan
npm test --workspace=packages/shared— all tests pass (68 total)npm test --workspace=packages/backend -- --testPathPattern="model-name-normalizer|PurgeNonCuratedModels"— all tests pass (66 total)npm test --workspace=packages/frontend -- providers.test.ts— all tests pass (67 total)Summary by cubic
Adds support for
MiniMax-M2.7andMiniMax-M2.7-highspeed. Models are normalized, appear in MiniMax subscription and fallbacks, survive the curated-models migration, and the provider subtitle now highlights M2.7.New Features
KNOWN_ALIASESforMiniMax-M2.7andMiniMax-M2.7-highspeed.knownModels.minimax-m2.7andminimax-m2.7-highspeedto the curated allowlist inPurgeNonCuratedModels.Bug Fixes
MiniMax-M2.7andMiniMax-M2.7-highspeed.Written for commit 4227122. Summary will update on new commits.