summaryrefslogtreecommitdiffhomepage
path: root/opencode.json
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-06-14 18:55:39 -0400
committerDax Raad <[email protected]>2025-06-14 18:55:39 -0400
commit2ea0399aa72adf11638f023b02f9434e2ba0de7c (patch)
tree41824baff44d825d02f17077c571196ac1d2fb83 /opencode.json
parentfa1266263da67e5f577068822c08fe140c95679d (diff)
downloadopencode-2ea0399aa72adf11638f023b02f9434e2ba0de7c.tar.gz
opencode-2ea0399aa72adf11638f023b02f9434e2ba0de7c.zip
docs: use ollama example
Diffstat (limited to 'opencode.json')
-rw-r--r--opencode.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/opencode.json b/opencode.json
index 32eb572a2..961d3b9d7 100644
--- a/opencode.json
+++ b/opencode.json
@@ -1,14 +1,14 @@
{
"$schema": "https://opencode.ai/config.json",
"provider": {
- "@openrouter/ai-sdk-provider": {
- "name": "OpenRouter",
+ "@ai-sdk/openai-compatible": {
+ "name": "ollama",
"options": {
- "apiKey": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
+ "baseURL": "http://localhost:11434/v1"
},
"models": {
- "anthropic/claude-3.5-sonnet": {
- "name": "claude-3.5-sonnet"
+ "llama2": {
+ "name": "llama2"
}
}
}