docs: add MiniMax-M3 and update minimax default model#1335
Conversation
MiniMax-M3 is the latest flagship model. Add it to the provider docs, make it the default in the quickstart examples for minimax and minimax-cn, and remove the older M2.5/M2.1/M2 variants that are no longer recommended for new integrations. Keep M2.7 and M2.7-highspeed as previous-generation options. Update the provider unit tests to use M3 as the default and verify that M3, M2.7, and M2.7-highspeed all resolve through the @ai-sdk/openai-compatible adapter. Signed-off-by: Octopus <octopus@github.com>
🦋 Changeset detectedLatest commit: 5845c67 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR updates the MiniMax provider to use ChangesMiniMax-M3 Default Model Update
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
MiniMax-M3(latest flagship) to theminimaxandminimax-cnprovider docs and use it as the default in the quickstart code samples.MiniMax-M2.5/M2.5-highspeed/M2.1/M2rows from the model tables since they are no longer recommended for new integrations.MiniMax-M2.7andMiniMax-M2.7-highspeedas previous-generation options.MiniMax-M3as the default model and assert thatM3,M2.7, andM2.7-highspeedall resolve through@ai-sdk/openai-compatible.The auto-generated
model-provider-registry.generated.tsandmodel-provider-types.generated.tsare intentionally left alone — the existingEXTRA_PROVIDER_REGISTRYoverrides take care of the runtime registration regardless of which models models.dev currently lists, so this PR only touches the user-facing docs and tests.Test plan
pnpm vitest run src/registries/model-provider-registry-minimax.spec.tspasses (8/8) insidepackages/core.npx biome checkclean on the modified spec file.npx prettier --checkclean on the modified markdown after applyingprettier --write.Summary by cubic
Make
MiniMax-M3the default model forminimaxandminimax-cn, updating quickstart samples and provider tests; remove M2.5/M2.1/M2 from docs while keeping M2.7 and M2.7-highspeed as previous-gen options. Tests now verify M3, M2.7, and M2.7-highspeed resolve via@ai-sdk/openai-compatible; no runtime registry changes.Written for commit 5845c67. Summary will update on new commits.
Summary by CodeRabbit
New Features
Documentation