Repository navigation
feat: add current MiniMax provider presets - #22
Open
octo-patch wants to merge 4 commits into
Open
octo-patch wants to merge 4 commits into
octo-patch wants to merge 4 commits into
Conversation
Author
|
I updated the China OpenAI-compatible preset and request handling to use https://api.minimaxi.com/v1 and pushed a new commit. I ran 29 focused Python tests and 2 frontend provider-catalog tests. |
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 current MiniMax presets with MiniMax-M3.1-Flash selected by default and MiniMax-M3 as the other ordinary choice.
The settings preset fills the endpoint and model only when Apply is clicked. Existing saved model IDs, legacy endpoints, and manual/custom configuration remain usable without automatic migration. The global preset uses
https://api.minimax.io/v1; China uses the currently documentedhttps://api.minimax.cn/v1.Both rewrite paths continue to use Chat Completions. For Flash on those two direct endpoints, requests use low reasoning effort and a 16,384-token completion budget so thinking has room before the short answer. They omit the ignored temperature parameter. Other models and custom routes keep their existing request parameters. Model metadata reflects Flash's adaptive thinking, 1M context, 524,288 maximum output, and current global pricing; M3 retains its two standard input-length price tiers.
Validation:
npm testinweb/frontend: 2 catalog regressions passed without installing frontend dependencies.git diff --checkand staged secret scan passed.0bb477a7fb3cf3278698e335f8177d30f72ae315: Python 3.14 passed 193 tests with 2 skips and the offline prompt-bank check. Python 3.8 passed 191 tests with 2 skips, including all 29 added regressions, and failed two existing session-history tests usingPath.write_text(newline=...).cf7deab2d5b28c1f70f5b5498461848b69024a15, reproduces the same two Python 3.8 failures. The build job was skipped because its Python dependency failed.References: