Add opencode AI coding agent

This commit is contained in:
Trevor SANDY
2025-12-30 05:39:26 +01:00
parent 1f9c0e9420
commit ef3f1033f1
4 changed files with 45 additions and 2 deletions
+29
View File
@@ -0,0 +1,29 @@
{
"$schema": "https://opencode.ai/config.json",
"model": "ollama/llama3.2",
"autoupdate": true,
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama (local)",
"options": {
"baseURL": "http://host.docker.internal:11434/v1"
},
"models": {
"llama3.2": {
"name": "Llama 3.2"
},
"qwen3:4b-q8_0": {
"name": "Qwen 3.4 4b q8_0"
}
}
}
},
"mcp": {
"MCP_DOCKER": {
"type": "remote",
"url": "http://host.docker.internal:8060/mcp",
"enabled": true
}
}
}