From 94c02d06edd6ea38876a635f5f065a1953ea5292 Mon Sep 17 00:00:00 2001 From: zhangqing Date: Fri, 16 Jan 2026 23:38:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0opencode=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- opencode.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 opencode.json diff --git a/opencode.json b/opencode.json new file mode 100644 index 0000000..2886e82 --- /dev/null +++ b/opencode.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://opencode.ai/config.json", + "theme": "opencode", + "model": "jiekou/gemini-3-flash-preview", + "plugin":[ + "oh-my-opencode" + ], + "autoupdate": true, + "provider": { + "jiekou": { + "options": { + "baseURL": "https://api.jiekou.ai/openai", + "apiKey": "sk_P0Ls_rJrB7lOF8Z5s1GMZ6O-rcvUMZnoB0KEIVs_Zvk" + }, + "models": { + "claude-opus-4-5-20251101": { + "name": "我的Claude Opus 4.5", + "limit": { "context": 200000, "output": 64000 }, + "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] }, + "variants": { + "low": { "thinkingConfig": { "thinkingBudget": 8192 } }, + "max": { "thinkingConfig": { "thinkingBudget": 32768 } } + } + }, + "gpt-5.2": { + "name": "我的GPT 5.2", + "limit": { "context": 400000, "output": 65536 }, + "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] } + }, + "gemini-3-flash-preview": { + "name": "我的Gemini 3 Flash", + "limit": { "context": 1048576, "output": 65536 }, + "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] } + }, + "gemini-3-pro-preview": { + "name": "我的Gemini 3 Pro", + "limit": { "context": 1048576, "output": 65535 }, + "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] } + } + } + } + } +}