add opencode.json

This commit is contained in:
zhangxunhui 2026-03-18 20:55:21 +08:00
parent b934aa5f00
commit 38ca2bf0d9
2 changed files with 21 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.json
semgrep_offline/semgrep/
semgrep_offline/semgrep/
!installations/opencode-cli/opencode.json

View File

@ -0,0 +1,19 @@
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"vllm-local": {
"npm": "@ai-sdk/openai-compatible",
"name": "vLLM (local)",
"options": {
"baseURL": "http://localhost:8000/v1",
"apiKey": "EMPTY"
},
"models": {
"MiniMax-M2.5": {
"_launch": true,
"name": "MiniMax-M2.5"
}
}
}
}
}