anomalyco / anomalyco/opencode
[Bug] Desktop app: provider/model/MCP fail to load on startup
@Hona is already working on this.
Since Aug 4, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- Avg merge
- 7h 2m
- Merged PRs (30d)
- 384
Description
Summary
The Opencode desktop app is unusable since it fails to load provider/model/MCP information during roughly 80% of application starts for multiple users in my organization. This is a version regression: v1.18.4 works correctly; every version from v1.18.5 through v1.18.13 is broken. Downgrading to v1.18.4 fixes the issue. Windows 11 Enterprise.
On affected starts, a stack of toast errors appears immediately — one "Failed to reload [name]: UnsupportedContentType" and one "Failed to reload [name]: Cannot read properties of undefined (reading 'temperature')" per configured provider/MCP:
Environment
- Custom providers via @ai-sdk/openai-compatible (no built-in API keys)
- Last known good version: v1.18.4
- First broken version: v1.18.5
- Confirmed still broken: v1.18.13
Symptoms
- Renderer:
Failed to finish bootstrap instance TypeError: Cannot read properties of undefined (reading 'temperature') - Toast:
"Failed to reload [ProjectName] — UnsupportedContentType" - Toast:
"Failed to reload [ProjectName] — Cannot read properties of undefined (reading 'temperature')" - Provider list empty, MCP list empty, model selector shows nothing
Renderer logs (crash sessions)
[2026-07-31 08:41:55.871] [error] Failed to finish bootstrap instance TypeError: Cannot read properties of undefined (reading 'temperature')
[2026-07-31 08:30:51.103] [error] Failed to finish bootstrap instance TypeError: Cannot read properties of undefined (reading 'temperature')
[2026-07-29 17:15:46.086] [error] Failed to finish bootstrap instance TypeError: Cannot read properties of undefined (reading 'temperature')
Sidecar log (no errors during crash)
timestamp=2026-07-31T12:41:41.058Z level=INFO message=loading path="...opencode.jsonc"
timestamp=2026-07-31T12:41:44.176Z level=INFO message=bootstrapping directory="...WinISO-Builder"
timestamp=2026-07-31T12:41:44.229Z level=INFO message=init
Config loads at :41.058, init completes at :44.229. Renderer crash logged at :55.871, well after init completes.
What I tried
OPENCODE_DISABLE_MODELS_FETCH=1— did not fixOPENCODE_DISABLE_AUTOUPDATE=1— did not fixautoupdate: falseinopencode.jsonc— did not fix- Relaunching repeatedly — Works every so often
- Downgrading to v1.18.4 — fixed
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.