OpenCode CLI hangs indefinitely with local Ollama models while remote models work fine
TehseenTech · ghdev · 2026-11-21
GitHub issue #65367 on anomalyco/opencode reports that opencode run with the default local Ollama model (qwen2.5-coder:7b) produces no output and never exits on Windows 11.
- Environment: opencode 1.18.31 (npm global), Ollama 0.40.16, /api/tags returns 200
- Control A: a direct POST /api/generate to the same model responds in 19 seconds
- Control B: the same CLI command completes normally with a remote HTTP-compatible model
- No plugins installed, ruling out plugin interference
The report includes full reproduction steps and controls, pointing to a bug in the CLI's interaction with local Ollama endpoints.
More from coding & agent
- Multica launches a PM workspace to manage human + agent coding teams — jiayuan_jy · 2026-11-21
- Antigravity logs reveal "region unavailable" was really security verification; Google opens subscriptions Dec 2 — lxfater · 2026-11-21
- Rubrik eBook documents 15 real AI agent disasters with defenses — TheTuringPost · 2026-11-21
- Voice-to-app in minutes: Gemini Neon builds a working app with tests — LinusEkenstam · 2026-11-21
- Scanning 4,000+ MCP servers: ~400 mix read-only and destructive tools on the same server — abhiramreddykalluru · 2026-11-21
- mnemos: a self-curating agent memory plugin for Hermes that fades unused memories — RileyRalmuto · 2026-11-21