Description
Basically, this is the Minimax M2.5 experience with OpenCode:
As you can see, it's not a context limit issue (<10%) and it often gets permanently stuck in these loops.
I'm using the first-party provider/model minimax/fp8 via openrouter:
{
"$schema": "https://opencode.ai/config.json",
"permission": {
"read": "allow",
"write": "allow",
"bash": {
"*": "ask",
"git *": "deny"
}
},
"agent": {
// as recommended here:
// https://huggingface.co/MiniMaxAI/MiniMax-M2.5#inference-parameters
"build": {
"temperature": 1.0,
"top_p": 0.95,
"top_k": 40,
},
"plan": {
"temperature": 1.0,
"top_p": 0.95,
"top_k": 40,
}
},
"provider": {
"openrouter": {
"models": {
"minimax/minimax-m2.5": {
"name": "Minimax M2.5 (official)",
"options": {
"provider": {
"only": [
"minimax/fp8"
]
}
}
},
}
}
}
}
I suspect the default model parameters aren't suitable, so I tried to apply the officially recommended ones, but I'm not at all confident that these options are being applied and sent - adding them didn't change anything.
How can I tell? opencode debug agent build just shows whatever I put in the JSON file, it doesn't look like anything gets validated.
I have similar problems with Kimi K2.5, also from the first-party provider. I haven't attempted to change it's configuration.
I've been told on the Discord that there may be "something wrong with my setup", but I have no idea what that would even mean? I have OpenCode on 3 different systems (two Windows 11 systems, one Linux) and no plugins or configuration beyond what you saw here, and it's the same everywhere.
Is it possible that openrouter itself is broken?
Kimi and Minimax combined are getting the same amount of traffic on openrouter as Claude Opus:
So it's hard to believe these models are completely useless?
But I'm at my wits end.
I've spent so many hours on this. It's impossible to tell if any config options are actually doing anything.
I wanted to see what the agent is actually doing, but /export only exports the conversation - I can't even see which files it's reading from the project, and the TUI doesn't display this information either. In general, OpenCode is not very generous with this type of information.
Plugins
none
OpenCode version
1.2.14
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Zorin 18, Windows 11
Terminal
VS Code terminal
Description
Basically, this is the Minimax M2.5 experience with OpenCode:
As you can see, it's not a context limit issue (<10%) and it often gets permanently stuck in these loops.
I'm using the first-party provider/model
minimax/fp8via openrouter:{ "$schema": "https://opencode.ai/config.json", "permission": { "read": "allow", "write": "allow", "bash": { "*": "ask", "git *": "deny" } }, "agent": { // as recommended here: // https://huggingface.co/MiniMaxAI/MiniMax-M2.5#inference-parameters "build": { "temperature": 1.0, "top_p": 0.95, "top_k": 40, }, "plan": { "temperature": 1.0, "top_p": 0.95, "top_k": 40, } }, "provider": { "openrouter": { "models": { "minimax/minimax-m2.5": { "name": "Minimax M2.5 (official)", "options": { "provider": { "only": [ "minimax/fp8" ] } } }, } } } }I suspect the default model parameters aren't suitable, so I tried to apply the officially recommended ones, but I'm not at all confident that these options are being applied and sent - adding them didn't change anything.
How can I tell?
opencode debug agent buildjust shows whatever I put in the JSON file, it doesn't look like anything gets validated.I have similar problems with Kimi K2.5, also from the first-party provider. I haven't attempted to change it's configuration.
I've been told on the Discord that there may be "something wrong with my setup", but I have no idea what that would even mean? I have OpenCode on 3 different systems (two Windows 11 systems, one Linux) and no plugins or configuration beyond what you saw here, and it's the same everywhere.
Is it possible that openrouter itself is broken?
Kimi and Minimax combined are getting the same amount of traffic on openrouter as Claude Opus:
So it's hard to believe these models are completely useless?
But I'm at my wits end.
I've spent so many hours on this. It's impossible to tell if any config options are actually doing anything.
I wanted to see what the agent is actually doing, but
/exportonly exports the conversation - I can't even see which files it's reading from the project, and the TUI doesn't display this information either. In general, OpenCode is not very generous with this type of information.Plugins
none
OpenCode version
1.2.14
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Zorin 18, Windows 11
Terminal
VS Code terminal