Repository navigation
feat: add MiniMax provider presets with M3.1 Flash default - #256
Open
octo-patch wants to merge 8 commits into
Open
octo-patch wants to merge 8 commits into
octo-patch wants to merge 8 commits into
Conversation
Mirror the existing GLM shortcut with a MiniMax preset: map the minimax, minimax-m3, and minimax-m2.7 model aliases to their canonical MiniMax-M3 and MiniMax-M2.7 IDs, and select the global or China Anthropic-compatible endpoint (append -cn for China). Centralize the --model argument handling behind resolveModelArg() and route the base URL in buildChildEnv().
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Author
|
Fixed the MiniMax endpoint URL type inference in |
Author
|
Updated the China MiniMax preset endpoint to |
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: Add a MiniMax provider preset with MiniMax-M3.1-Flash as its default and MiniMax-M3 as the explicit alternative.
Summary
minimaxandminimax-m3.1-flashtoMiniMax-M3.1-Flash; keepminimax-m3and explicitly saved legacy aliases unchanged.Sources: global API, China API.
Validation
Using Bun 1.3.14 with a credential-free environment:
bun test src/__tests__/provider-preset.test.ts src/__tests__/provider-runner.test.ts: 34 passed, 0 failed; 13 boundary scenarios cover default, explicit, regional, legacy, and custom models.bun test: 168 passed, 3 failed. The same threetests/session-files.test.tsHOME-path failures were reproduced on unchanged prior head804f111025c932c3d139436059a5c21a51fc57a3(155 passed, 3 failed).git diff --check: passed.ad78beb1f07639fe8e0b3c93a878bd30895a812a:claude-reviewfailed before review because checkout refuses fork code in the upstreampull_request_targetworkflow. No workflow security override was added. Version guards were checked locally; no other exact-head checks were reported.This repository delegates HTTP serialization, thinking/effort handling, and transcript content to the installed CLI. The offline tests verify the repository-owned subprocess contract; they do not validate the CLI's outgoing HTTP payload or perform paid inference. No dependency installation or heavy build was performed.
Plugin Versioning
Ran
bun run bump:plugin-versionandbun run bump:marketplace-version; both manifests now declare1.0.46.