You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MiniMax-M2.1 fails with "cannot unmarshal string" #10760
I'm seeing the error below using Huggingface MiniMax-M2.1
It seems to occur on every conversions, i.e. I ask it to analyse a codebase for refactor and it calls a few tools (i.e. ls -la ...) then displays the error and waits for more input
Bad Request: body unmarshal json: cannot unmarshal string into Go struct field ChatCompletionRequestAlias.messages of type []openai.ChatMessagePart
Plugins
No response
OpenCode version
1.1.36
Steps to reproduce
/models Huggingface MiniMax-M2.1
"analyse this codebase"
Bad Request: body unmarshal json: cannot unmarshal string into Go struct field ChatCompletionRequestAlias.messages of type []openai.ChatMessagePart with Minimax M2.5 and Qwen/Qwen3.5-397B-A17B
Activity
github-actions commentedon Jan 27, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
aditya-oss-prog commentedon Feb 18, 2026
I am getting same error
Bad Request: body unmarshal json: cannot unmarshal string into Go struct field ChatCompletionRequestAlias.messages of type []openai.ChatMessagePartwith Minimax M2.5 and Qwen/Qwen3.5-397B-A17Bgithub-actions commentedon Apr 20, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.