Refresh MiniMax preset to global endpoint and MiniMax-M3 - #1700
Open
octo-patch wants to merge 1 commit into
Open
Refresh MiniMax preset to global endpoint and MiniMax-M3#1700octo-patch wants to merge 1 commit into
octo-patch wants to merge 1 commit into
Conversation
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.
Reason: Refresh the first-class MiniMax provider preset to the global endpoint and its current model lineup.
What changed
apps/codex-plus-manager/src/presets.ts— the built-in MiniMax preset:baseUrl:https://api.minimaxi.com/v1→https://api.minimax.io/v1(global OpenAI-compatible endpoint).websiteUrl/apiKeyUrl: point at the global platform hosthttps://platform.minimax.io.model(default):MiniMax-M2.7→MiniMax-M3.modelList:["MiniMax-M2.7"]→["MiniMax-M3", "MiniMax-M2.7"], so the previous model stays selectable.The preset stays in the
cn_officialcategory (the vendor classification, matching the other first-class presets) and keeps thechatCompletionsprotocol. Adaptive reasoning is already applied to this provider through the existing chat reasoning routing keyed on the model name incrates/codex-plus-core/src/protocol_proxy.rs, soMiniMax-M3is covered without further change. Per-model context windows continue to be configured through the shared model-window editor, consistent with every other preset in this file.Checks
npm run check(tsc --noEmit -p tsconfig.json) — passed.npm run vite:build— passed.Note:
npm test(node --test) targets Node 22's native TypeScript support (as used in CI); it could not be exercised in the local Node 20 environment. The change is a static preset-data update covered by the type-check and production build above.