feat(provider): upgrade minimax preset to MiniMax-M3#694
Open
octo-patch wants to merge 1 commit into
Open
Conversation
Add MiniMax-M3 as the new default for the minimax provider preset and remove deprecated M2.5/M2.1/M2 entries. MiniMax-M2.7 and the highspeed variant are kept for users who pinned the previous generation. Updated places: - providerPresets.json: default models -> M3, modelContextWindows trimmed - modelContextWindows.ts: built-in window list mirrors the new set - provider-presets / providers-real / thinking tests updated to assert the new default - .env.example and third-party docs (zh + en) recommend M3 - scripts/repro-issue-247-real.ts default model bumped to M3 Co-Authored-By: Octopus <liyuan851277048@icloud.com>
PR quality triageChanged areas: area:cli-core, area:docs, area:server CLI core policy: Blocked by policy until a maintainer applies Missing-test policy: No missing-test policy block detected. Coverage baseline policy: No coverage-baseline policy block detected. CLI core files:
Coverage policy files:
Expected checks:
Test coverage signals:
Risk notes:
Hard merge gates still come from GitHub Actions, not AI review. Dosu handoff: Dosu can be used as the AI reviewer for risk explanation, missing-test prompts, and maintainer Q&A. If it does not comment automatically from the PR template, ask: @dosubot review this PR for changed-area risk, missing tests, docs impact, desktop startup risk, and CLI core impact. |
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
升级
minimaxprovider preset,把默认模型从MiniMax-M2.7切到新一代的MiniMax-M3,并清理过期的 M2.5 / M2.1 / M2 条目;保留MiniMax-M2.7和MiniMax-M2.7-highspeed,方便已经在使用上一代模型的用户继续锁定。影响范围
src/server/config/providerPresets.json、src/utils/model/modelContextWindows.ts:default model + 内置 context window 表统一升级到 M3,删掉 M2.5 / M2.1 / M2 条目provider-presets.test.ts/providers-real.test.ts/thinking.test.ts改成断言新的默认模型MiniMax-M3.env.example、中英版docs/guide/env-vars.md、docs/guide/third-party-models.md:示例 / 推荐配置改为 M3,并在 zh/en 模型表里同时列出 M3 + M2.7 + M2.7-highspeedscripts/repro-issue-247-real.ts的默认REPRO_MODEL_ID改成MiniMax-M3未触及 base URL、TTS 或其他 provider;
MiniMax-M2.7仍保留,使用者只是默认值变了。测试说明
bun test src/server/__tests__/provider-presets.test.ts— 7 passbun test src/server/__tests__/providers-real.test.ts— 6 pass(连通性 case 因没有真实 key 报"login fail",是预期内的离线行为)bun test src/utils/__tests__/thinking.test.ts— 8 passbun test src/services/compact/autoCompact.test.ts— 5 pass(M2.7 仍在内置表里,原断言不需要改)bun test src/tools/WebSearchTool/backend.test.ts— 6 passbun test scripts/quality-gate/providerTargets.test.ts— 5 pass未跑真实模型 baseline /
bun run verify全套;本机没有MiniMax-M3API Key,需要维护者在合并前用真实 key 跑一遍bun run quality:smoke --provider-model minimax:main:minimax-main确认连通性。剩余风险
204_800;如果官方上线后实际窗口不同,providerPresets.json和modelContextWindows.ts里两处204800需要同步调整desktop/src/__tests__/generalSettings.test.tsx、scripts/quality-gate/providerTargets.test.ts、fixtures/e8c7b0.json里仍残留MiniMax-M2.7-highspeed字符串,但都是 fixture / 解析测试用的占位符,跟"哪个是默认模型"无关,故未改bun run verify全量门禁未跑(本仓 e2e 需要 macOS 环境 + 实际 API Key),上述定向单测均通过