Description
Problem Description
MiniMax Coding Plan has two subscription types:
- Highspeed subscription: Can use both
MiniMax-M2.5-highspeed and MiniMax-M2.5 models
- Standard subscription: Can only use
MiniMax-M2.5 model - using highspeed model will result in API errors
The OpenCode currently defaults to using MiniMax-M2.5-highspeed model:
- The
opencode auth login flow does not allow users to select model variant (highspeed / standard)
- Regardless of which subscription type the user's API key is from, agents/fallbacks default to
MiniMax-M2.5-highspeed
- This causes API errors for standard subscription users
Expected Behavior
The OpenCode should:
- Allow users to select MiniMax model variant (highspeed / standard) during
opencode auth login flow
- Or default to the standard model
MiniMax-M2.5 instead of MiniMax-M2.5-highspeed
- Ensure standard subscription users are not defaulted to highspeed model
Related
Additional Context
PR #2438 adds minimax-coding-plan and minimax-cn-coding-plan as model providers with a --minimax-model-variant flag to choose between highspeed and standard. However, the OpenCode plugin itself (during opencode auth login) does not expose this option to users.
Plugins
no plugin
OpenCode version
latest
Steps to reproduce
opencode auth login
choose minimax
run opencode to see the minimax model is highspeed and say hi to him will generate error.
Screenshot and/or share link
see the note code-yeongyu/oh-my-openagent#2438 (comment)
Operating System
Ubuntu 22.04
Terminal
any
Description
Problem Description
MiniMax Coding Plan has two subscription types:
MiniMax-M2.5-highspeedandMiniMax-M2.5modelsMiniMax-M2.5model - using highspeed model will result in API errorsThe OpenCode currently defaults to using
MiniMax-M2.5-highspeedmodel:opencode auth loginflow does not allow users to select model variant (highspeed / standard)MiniMax-M2.5-highspeedExpected Behavior
The OpenCode should:
opencode auth loginflowMiniMax-M2.5instead ofMiniMax-M2.5-highspeedRelated
Additional Context
PR #2438 adds minimax-coding-plan and minimax-cn-coding-plan as model providers with a
--minimax-model-variantflag to choose between highspeed and standard. However, the OpenCode plugin itself (duringopencode auth login) does not expose this option to users.Plugins
no plugin
OpenCode version
latest
Steps to reproduce
opencode auth loginchoose minimax
run
opencodeto see the minimax model is highspeed and say hi to him will generate error.Screenshot and/or share link
see the note code-yeongyu/oh-my-openagent#2438 (comment)
Operating System
Ubuntu 22.04
Terminal
any