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
opencode version: 1.0.184 (Homebrew on macOS ARM64)
Model: devstral-2 (Mistral provider)
Issue 1: Auto-install of @ai-sdk/mistral fails (ENOENT)
When selecting a Mistral model, opencode tries to auto-install @ai-sdk/mistral but fails with:
ENOENT: no such file or directory, posix_spawn '/opt/homebrew/Cellar/opencode/1.0.128/libexec/lib/node_modules/opencode-ai/node_modules/opencode-darwin-arm64/bin/opencode'
The binary path opencode-darwin-arm64/bin/opencode doesn't exist in the Homebrew installation layout.
Workaround: Manually install the SDK:
cd /opt/homebrew/Cellar/opencode/1.0.184/libexec && npm install @ai-sdk/mistral
Issue 2: ZodError after SDK is installed
Even after manually installing @ai-sdk/mistral, using the Mistral model produces ZodError validation failures:
Activity
github-actions commentedon Dec 22, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
chindris-mihai-alexandru commentedon Dec 22, 2025
rekram1-node commentedon Dec 22, 2025
yup been trying to fix it but github is having issues