Conversation
…MiniMax M2.1/M2.5 - Add [provider] npm = "@ai-sdk/anthropic" to match -free variants - Remove incorrect [interleaved] section per design decision MiniMax models should route through @ai-sdk/anthropic with per-model provider overrides, not rely on [interleaved] for reasoning content handling.
LYY
force-pushed
the
fix/minimax-models-provider-override
branch
from
March 31, 2026 01:59
c423539 to
2a3e108
Compare
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.
Problem
The
minimax-m2.5.tomlandminimax-m2.1.tomlfiles inproviders/opencode/models/have two inconsistencies compared to their-freecounterparts and compared to the pattern established in PR anomalyco#1254 for the ZenMux provider:Missing
[provider]override — The-freevariants correctly define:The non-free variants have no [provider] section.
Incorrectly has [interleaved] — The -free variants do NOT have an [interleaved] section. The non-free variants incorrectly include:
PR feat(zenmux): route models through protocol-specific SDKs anomalyco/models.dev#1254 explicitly removed [interleaved] from all ZenMux MiniMax models when adding the [provider] override, because the @ai-sdk/anthropic route handles this differently.
Expected
Both minimax-m2.5 and minimax-m2.1 (non-free) should match their -free variants:
This aligns with the design decision in PR anomalyco#1254: MiniMax models should route through @ai-sdk/anthropic with per-model provider overrides, not rely on [interleaved] for reasoning content handling.
Files affected
providers/opencode/models/minimax-m2.5.tomlproviders/opencode/models/minimax-m2.1.toml