feat: upgrade MiniMax default model to M3 - #1442
Open
octo-patch wants to merge 1 commit into
Open
Conversation
|
PR Bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
- Add MiniMax-M3 as the new default model - Update mcp/providers.go and mcp/provider/minimax.go DefaultMiniMaxModel - Update agent/agent.go fallback defaults (URL + model) - Update agent/model_provider_catalog.go DefaultModel - Update api/handler_ai_model.go supported models list - Update web/src/components/trader/model-constants.ts default - Update store/strategy.go context limit to 512K (M3 spec) - Update docs/token-estimation.zh-CN.md context window row
octo-patch
force-pushed
the
feature/upgrade-minimax-m2.7
branch
from
June 7, 2026 05:13
bf8af6f to
9f6e8a6
Compare
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
Upgrade MiniMax default model from M2.5/M2.7 to M3 across the Go backend, frontend constants, and docs. M3 is the latest MiniMax flagship: 512K context window, up to 128K output, and image input support.
M2.7 / M2.7-highspeed remain selectable by users via the existing custom-model field; only the default is changed.
Changes
Backend (Go)
mcp/providers.go:DefaultMiniMaxModelMiniMax-M2.7→MiniMax-M3mcp/provider/minimax.go:DefaultMiniMaxModelMiniMax-M2.7→MiniMax-M3api/handler_ai_model.go: supported-models list defaultMiniMax-M2.7→MiniMax-M3agent/agent.go:resolveModelRuntimeConfigminimaxentry — modelMiniMax-M2.5→MiniMax-M3, URLapi.minimax.chat→api.minimax.io(correct endpoint)agent/model_provider_catalog.go:supportedModelProvidersminimaxDefaultModelMiniMax-M2.5→MiniMax-M3store/strategy.go:contextLimitMinimax1_000_000 (1M)→512_000 (512K)to match M3 specFrontend (TypeScript)
web/src/components/trader/model-constants.ts:AI_PROVIDER_CONFIG.minimax.defaultModelMiniMax-M2.7→MiniMax-M3Docs
docs/token-estimation.zh-CN.md: MiniMax row context window1,000,000 / 800,000→512,000 / 409,600Why M3?
MiniMax-M3is the latest flagship from MiniMax, with a 512K context window, up to 128K output tokens, and (in OpenAI-compatible mode) image-input support. The OpenAI-compatible API endpoint (https://api.minimax.io/v1) and auth scheme are unchanged, so no client-side wiring needs to be touched.Compatibility
MiniMax-M2.7(or earlier) via the custom-model UI field are unaffected — the change only updates the default model.MiniMax-M2.5/M2.1/M2/M1) were never on the picker list indev— only defaults were updated.Test Plan
mcp/agent/api/storecompile cleanly (go build ./...)api.minimax.chatremain in code1_000_0001M context literal remains for minimaxAI_PROVIDER_CONFIG.minimax.defaultModelisMiniMax-M3