ai-code/opencode.cfg/opencode.json
2026-03-17 22:46:51 +00:00

45 lines
No EOL
948 B
JSON

{
"plugin": [],
"theme": "system",
"model": "halo/qwen3-coder-next:latest",
"small_model": "halo/gemma3:4b",
"provider": {
"halo": {
"npm": "@ai-sdk/openai-compatible",
"name": "(local)",
"options": {
"baseURL": "http://host.docker.internal:11434/v1"
},
"models": {
"hf.co/unsloth/GLM-4.7-Flash-GGUF:Q6_K": {
"name": "glm4.7"
},
"hf.co/LiquidAI/LFM2-24B-A2B-GGUF:Q8_0": {
"name": "lfm2"
},
"qwen3-coder-next:latest": {
"name": "qwen3"
},
"gemma3:4b": {
"name": "Gemma",
"capabilities": {
"modalities": {
"input": [
"text",
"image"
]
}
}
}
}
}
},
"server": {
"port": 4096,
"hostname": "0.0.0.0",
"mdns": true,
"cors": [
"https://example.com"
]
}
}