summaryrefslogtreecommitdiffhomepage
path: root/opencode.json
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-06-16 15:02:25 -0400
committerDax Raad <[email protected]>2025-06-16 15:02:25 -0400
commit2c9fd1e7760da4e1776d9cee7db93af1512c88a7 (patch)
treeb26a0422ccca227f84ddf182007792d922e48425 /opencode.json
parent63996c4189a6f66225a34c43328e616c5963e007 (diff)
downloadopencode-2c9fd1e7760da4e1776d9cee7db93af1512c88a7.tar.gz
opencode-2c9fd1e7760da4e1776d9cee7db93af1512c88a7.zip
BREAKING CHANGE: the config structure has changed, custom providers have an `npm` field now to specify which npm package to load. see examples in README.md
Diffstat (limited to 'opencode.json')
-rw-r--r--opencode.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/opencode.json b/opencode.json
index 7bf1d1318..691bd372f 100644
--- a/opencode.json
+++ b/opencode.json
@@ -1,8 +1,8 @@
{
"$schema": "https://opencode.ai/config.json",
"provider": {
- "@ai-sdk/openai-compatible": {
- "name": "ollama",
+ "ollama": {
+ "npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://localhost:11434/v1"
},