Repository navigation
feat: default MiniMax to M3.1 Flash and preserve reasoning transport - #104
Merged
Merged
Conversation
doramirdor
approved these changes
Oct 20, 2026
doramirdor
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed. Verified against MiniMax docs: MiniMax-M3.1-Flash is listed with a 1M context, and the $0.15/$0.60 per-M pricing matches. M3's $0.60/$2.40 is the >512k tier, which is a conservative estimate as the comment says. The reasoning_content passthrough is limited to minimax, allowed_openai_params lists only the params that are present, M2.7 stays resolvable but is hidden from the wizard, and the 3.10 LiteLLM cap is tightened with a reason given. CI is green on 3.10–3.12 at head 1f00a5c. Merging, thanks.
Merged
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: NadirClaw's ordinary MiniMax choices do not include MiniMax-M3.1-Flash, and older LiteLLM catalogs reject its supported reasoning parameters before sending a request.
minimaxresolve to MiniMax-M3.1-Flash and expose Flash followed by MiniMax-M3 in the built-in MiniMax catalog.<1.97.0: 1.97.0 fails response-model construction on that interpreter with unresolved reasoning types; 1.96.0 passes the transport suite.Validation:
1f00a5cbd89d729355b0ec2b595d9c3dff988e7a: 966 passed, 1 skipped on each of Python 3.10, 3.11, and 3.12 (run).git diff --checkpasses. No paid inference or real API credentials were used.References: