added opencode

This commit is contained in:
Bryan Ramos 2026-04-12 23:05:31 -04:00
parent 54acfec834
commit 254d72cfd4
8 changed files with 315 additions and 4 deletions

33
opencode/config.json Normal file
View file

@ -0,0 +1,33 @@
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"llama.cpp": {
"npm": "@ai-sdk/openai-compatible",
"name": "llama-server (local)",
"options": {
"baseURL": "http://192.168.0.23:8000/v1"
},
"models": {
"qwen3-coder:a3b": {
"name": "Qwen3-Coder-30B-A3B-Instruct-Q8"
}
}
}
},
"mcp": {
"fetch": {
"type": "local",
"command": ["uvx", "mcp-server-fetch", "--ignore-robots-txt"],
"enabled": true
},
"searxng": {
"type": "local",
"command": ["npx", "-y", "mcp-searxng"],
"environment": {
"SEARXNG_URL": "http://192.168.0.23:8080"
},
"enabled": true
}
},
"model": "llama.cpp/qwen3-coder:a3b"
}