does not work with local models
Author: richardudovichCreated Jul 21, 2025Updated Jul 24, 2025
testing with
{ "$schema": "https://opencode.ai/config.json", "provider": { "ollama": { "npm": "@ai-sdk/openai-compatible", "options": { "baseURL": "http://localhost:11434/v1" }, "models": { "qwen2.5-coder": {} } } }, "model": "ollama/qwen2.5-coder" }
fails
Source: opencode-ai/opencode