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"] } + } + } + } + } +}