This commit is contained in:
Andy Bunce 2026-02-27 22:42:21 +00:00
parent 692edb9c09
commit 548c35af52

View file

@ -68,7 +68,7 @@ cat <<EOF > /root/.config/opencode/opencode.json
"provider": {
"halo": {
"npm": "@ai-sdk/openai-compatible",
"name": "local models",
"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" },
@ -77,6 +77,12 @@ cat <<EOF > /root/.config/opencode/opencode.json
}
}
},
"server": {
"port": 4096,
"hostname": "0.0.0.0",
"mdns": true,
"cors": ["https://example.com"]
}
}
EOF