The Ollama LaunchAgent, derived models (mostly to set num_ctx, which Ollama's OpenAI-compatible API won't take per request), and opencode's config, now defaulting to qwen3-coder:30b: qwen3:32b tends to end its turn after thinking without making the tool call it planned. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
696 B
JSON
26 lines
696 B
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"provider": {
|
|
"ollama": {
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"name": "Ollama (local)",
|
|
"options": {
|
|
"baseURL": "http://localhost:11434/v1"
|
|
},
|
|
"models": {
|
|
"qwen3-coder:30b-32k": {
|
|
"name": "Qwen3 Coder 30B (32k context)",
|
|
"tools": true,
|
|
"limit": { "context": 32768, "output": 8192 }
|
|
},
|
|
"qwen3:32b-32k": {
|
|
"name": "Qwen3 32B (32k context)",
|
|
"tools": true,
|
|
"limit": { "context": 32768, "output": 8192 }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"model": "ollama/qwen3-coder:30b-32k",
|
|
"small_model": "ollama/qwen3-coder:30b-32k"
|
|
}
|