docs: use ollama example

This commit is contained in:
Dax Raad
2025-06-14 18:55:39 -04:00
parent fa1266263d
commit 2ea0399aa7
2 changed files with 12 additions and 15 deletions

View File

@@ -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"
}
}
}