Skip to content

Opencode hangs after model selection with opencode-go/minimax-m3 #42320

Description

@zlzhangn

Description

I subscribed to Opencode, but in my environment the app hangs when sending a request to the model. The local installation appears to start normally, and the provider credentials are available, but once the model is selected the request never returns a response.

Environment:
OS: Linux
Shell: bash
opencode version: 1.18.18
Provider: opencode-go
Model: minimax-m3

Plugins

oh-my-opencode-slim

OpenCode version

1.18.18

Steps to reproduce

Run opencode providers list
Confirm that credentials are present
Run:
opencode --print-logs --log-level DEBUG -m opencode-go/minimax-m3 run "hello"
Observe that the process reaches the model selection stage and then stalls without returning any result

Expected behavior:
The model should respond normally to the prompt.

Actual behavior:
The request hangs after llm runtime selected and stream providerID=opencode-go modelID=minimax-m3
The process must be manually interrupted
Exit code is 130

Screenshot and/or share link

timestamp=2026-08-13T12:25:56.269Z level=INFO run=a05ce97c message="creating instance" directory=/home/zlzhangn/projects/‌alphaquant
timestamp=2026-08-13T12:25:56.270Z level=INFO run=a05ce97c message=fromDirectory directory=/home/zlzhangn/projects/‌alphaquant
timestamp=2026-08-13T12:25:56.282Z level=INFO run=a05ce97c message=bootstrapping directory=/home/zlzhangn/projects/‌alphaquant
timestamp=2026-08-13T12:25:56.286Z level=INFO run=a05ce97c message=loading path=/home/zlzhangn/.config/opencode/config.json
timestamp=2026-08-13T12:25:56.287Z level=INFO run=a05ce97c message=loading path=/home/zlzhangn/.config/opencode/opencode.json
timestamp=2026-08-13T12:25:56.291Z level=INFO run=a05ce97c message=loading path=/home/zlzhangn/.config/opencode/opencode.jsonc
...
timestamp=2026-08-13T12:25:57.171Z level=INFO run=a05ce97c message=stream providerID=opencode-go modelID=minimax-m3 session.id=ses_004e9e886ffeLm52lnnnJmwVSn small=true agent=title mode=primary
timestamp=2026-08-13T12:25:57.185Z level=INFO run=a05ce97c message="llm runtime selected" llm.runtime=ai-sdk llm.provider=opencode-go llm.model=minimax-m3
timestamp=2026-08-13T12:26:00.576Z level=INFO run=a05ce97c message=process session.id=ses_004e9e886ffeLm52lnnnJmwVSn messageID=msg_ffb161892001zWeIGHL9kXu82k
timestamp=2026-08-13T12:26:00.577Z level=INFO run=a05ce97c message=stream providerID=opencode-go modelID=minimax-m3 session.id=ses_004e9e886ffeLm52lnnnJmwVSn small=false agent=orchestrator mode=primary
timestamp=2026-08-13T12:26:00.578Z level=INFO run=a05ce97c message="llm runtime selected" llm.runtime=ai-sdk llm.provider=opencode-go llm.model=minimax-m3

Operating System

WSL:Ubuntu

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions