Files
docker-compose-cookbooks/opencode/config/config.json
T

73 lines
1.6 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"model": "ollama/qwen2.5-coder:14b",
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
"qwen3:8b": {
"name": "Qwen3 8B",
"tools": true,
"limit": {
"context": 32768,
"output": 8192
}
},
"qwen3:8b-16k": {
"name": "Qwen3 8B (16k UI-Context)",
"tools": true,
"limit": {
"context": 16384,
"output": 8192
}
},
"qwen2.5:7b": {
"name": "Qwen2.5 7B",
"tools": true,
"limit": {
"context": 32768,
"output": 8192
}
},
"qwen2.5-coder:14b": {
"name": "Qwen2.5 Coder 14B",
"tools": true,
"limit": {
"context": 32768,
"output": 8192
}
},
"mistral:latest": {
"name": "Mistral 7B",
"tools": true,
"limit": {
"context": 32768,
"output": 4096
}
},
"mistral-small3.2:latest": {
"name": "Mistral Small 3.2",
"tools": true,
"limit": {
"context": 131072,
"output": 8192
}
},
"llama3.1:8b": {
"name": "Llama 3.1 8B",
"tools": true,
"limit": {
"context": 131072,
"output": 8192
}
}
}
}
},
"permission": {
"bash": { "git *": "ask" }
}
}