From 2ea0399aa72adf11638f023b02f9434e2ba0de7c Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Sat, 14 Jun 2025 18:55:39 -0400 Subject: docs: use ollama example --- opencode.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'opencode.json') 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" } } } -- cgit v1.2.3