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
When using jcode's subagent/swarm system with Muse or Grok models via OpenCode Go, the subagents fail with HTTP 500 errors because they hit /chat/completions instead of /responses.
Direct jcode run -p opencode-go -m muse-spark-1.3-contributor works correctly (routes to /responses), but subagents spawned via the swarm system bypass the patched code path in openrouter_sse_stream.rs.
Description
When using jcode's subagent/swarm system with Muse or Grok models via OpenCode Go, the subagents fail with HTTP 500 errors because they hit
/chat/completionsinstead of/responses.Direct
jcode run -p opencode-go -m muse-spark-1.3-contributorworks correctly (routes to/responses), but subagents spawned via the swarm system bypass the patched code path inopenrouter_sse_stream.rs.Reproduction
openrouter_sse_stream.rswith Responses API routing (PR OpenCode Go: Muse/Grok/GPT-5.6-Luna models fail with 500 -- requires /responses and /messages endpoints, not just /chat/completions #1224)jcodesession with OpenCode Go provider/chat/completionserrorjcode runwith same model works fineEvidence
lsof)mimo-v2.5(chat completions model) work finemuse-spark-1.3-contributorfail consistentlyImpact
mimo-v2.5or other chat-completions-compatible models for subagentsRelated