From 38ca2bf0d91f597929594ac8ff05df6e4b584e7f Mon Sep 17 00:00:00 2001 From: zhangxunhui Date: Wed, 18 Mar 2026 20:55:21 +0800 Subject: [PATCH] add opencode.json --- .gitignore | 3 ++- installations/opencode-cli/opencode.json | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 installations/opencode-cli/opencode.json diff --git a/.gitignore b/.gitignore index 07cfed2..5998101 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.json -semgrep_offline/semgrep/ \ No newline at end of file +semgrep_offline/semgrep/ +!installations/opencode-cli/opencode.json \ No newline at end of file diff --git a/installations/opencode-cli/opencode.json b/installations/opencode-cli/opencode.json new file mode 100644 index 0000000..4bf1b1a --- /dev/null +++ b/installations/opencode-cli/opencode.json @@ -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" + } + } + } + } +} \ No newline at end of file