[mod]
This commit is contained in:
parent
692edb9c09
commit
548c35af52
1 changed files with 7 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ cat <<EOF > /root/.config/opencode/opencode.json
|
||||||
"provider": {
|
"provider": {
|
||||||
"halo": {
|
"halo": {
|
||||||
"npm": "@ai-sdk/openai-compatible",
|
"npm": "@ai-sdk/openai-compatible",
|
||||||
"name": "local models",
|
"name": "(local)",
|
||||||
"options": { "baseURL": "http://host.docker.internal:11434/v1" },
|
"options": { "baseURL": "http://host.docker.internal:11434/v1" },
|
||||||
"models": { "hf.co/unsloth/GLM-4.7-Flash-GGUF:Q6_K": { "name": "glm4.7" },
|
"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" },
|
"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
|
EOF
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue