Repository navigation
Closed as not planned
Description
Description
Environment
- OpenCode Desktop v1.14.39 (Windows 11)
- Ollama running locally (e.g.,
http://localhost:11434/v1) - Model: various (deepseek-r1, qwen2.5-coder, llama3, etc.)
Steps to Reproduce
- Configure OpenCode Desktop to use Ollama Cloud
- Ask a complex question that requires long thinking (e.g., "refactor this entire module")
- Or trigger a sub-agent / shell command execution
- Wait while Ollama is generating response (can take 30s-2min for complex tasks)
- App freezes — UI unresponsive, can't scroll/click/type
What Happens
- Send request → Ollama starts thinking (streaming response)
- During long generation, OpenCode UI gradually becomes sluggish
- Status indicator turns red after a while
- App fully freezes — window shows blank/white, no interaction possible
- Sometimes Ollama has already finished responding but OpenCode is stuck
- Only recovery: kill and restart OpenCode
This happens especially often with:
- Models that have long thinking chains
- Sub-agent / shell tool execution
- Multiple sequential tool calls (Ollama calling tools → OpenCode executing → sending back)
Expected Behavior
- OpenCode should remain responsive while Ollama is generating
- Long responses should not freeze the UI
- If connection drops, app should recover gracefully (reconnect, show error, retry)
Additional Context
- Ollama itself is running fine — request completes successfully when checked via
curl - The freeze is on OpenCode's side — Tauri/webview becomes unresponsive
- After restarting OpenCode, it works again until the next long request
- v1.14.39 "Respect HTTP_PROXY env vars" may be related — if
HTTP_PROXYis set in system, requests could be routed incorrectly - No
HTTP_PROXYset in my environment, but the freeze still happens
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
Operating System
windows 11
Terminal
No response
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon May 5, 2026
This issue might be related to existing reports of OpenCode freezing during streaming. Please check:
If the freeze is specifically tied to how OpenCode handles long-running Ollama streams rather than a network issue, this may be a distinct bug worth tracking separately.
nguyenphi37 commentedon May 5, 2026
I'm using Wi-Fi and an open-code app, and it's freezing.
github-actions commentedon Jul 5, 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.