diff options
| author | bh <qn+git@epicurus.dev> | 2026-03-30 16:07:56 +0800 |
|---|---|---|
| committer | bh <qn+git@epicurus.dev> | 2026-03-30 16:07:56 +0800 |
| commit | ef8c3cce562295ea984e668909c45a5929ede765 (patch) | |
| tree | 439a3899d9e582d48314c2cb3f955819d8363963 | |
| parent | 66c4044569e24b8dc3855569268e33ff819ea7f4 (diff) | |
opencode: change antigravity to gemini
| -rw-r--r-- | opencode/.config/opencode/opencode.json | 125 |
1 files changed, 1 insertions, 124 deletions
diff --git a/opencode/.config/opencode/opencode.json b/opencode/.config/opencode/opencode.json index 189e020..3436da4 100644 --- a/opencode/.config/opencode/opencode.json +++ b/opencode/.config/opencode/opencode.json @@ -2,7 +2,7 @@ "$schema": "https://opencode.ai/config.json", "plugin": [ "opencode-claude-auth@latest", - "opencode-antigravity-auth@latest" + "opencode-gemini-auth@latest" ], "agent": { @@ -23,129 +23,6 @@ } }, - "provider": { - "google": { - "models": { - "antigravity-gemini-3-pro": { - "name": "Gemini 3 Pro (Antigravity)", - "limit": { "context": 1048576, "output": 65535 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] }, - "variants": { - "low": { "thinkingLevel": "low" }, - "high": { "thinkingLevel": "high" } - } - }, - "antigravity-gemini-3.1-pro": { - "name": "Gemini 3.1 Pro (Antigravity)", - "limit": { "context": 1048576, "output": 65535 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] }, - "variants": { - "low": { "thinkingLevel": "low" }, - "high": { "thinkingLevel": "high" } - } - }, - "antigravity-gemini-3-flash": { - "name": "Gemini 3 Flash (Antigravity)", - "limit": { "context": 1048576, "output": 65536 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] }, - "variants": { - "minimal": { "thinkingLevel": "minimal" }, - "low": { "thinkingLevel": "low" }, - "medium": { "thinkingLevel": "medium" }, - "high": { "thinkingLevel": "high" } - } - }, - "antigravity-claude-sonnet-4-6": { - "name": "Claude Sonnet 4.6 (Antigravity)", - "limit": { "context": 200000, "output": 64000 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] } - }, - "antigravity-claude-opus-4-6-thinking": { - "name": "Claude Opus 4.6 Thinking (Antigravity)", - "limit": { "context": 200000, "output": 64000 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] }, - "variants": { - "low": { "thinkingConfig": { "thinkingBudget": 8192 } }, - "max": { "thinkingConfig": { "thinkingBudget": 32768 } } - } - }, - "gemini-2.5-flash": { - "name": "Gemini 2.5 Flash (Gemini CLI)", - "limit": { "context": 1048576, "output": 65536 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] } - }, - "gemini-2.5-pro": { - "name": "Gemini 2.5 Pro (Gemini CLI)", - "limit": { "context": 1048576, "output": 65536 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] } - }, - "gemini-3-flash-preview": { - "name": "Gemini 3 Flash Preview (Gemini CLI)", - "limit": { "context": 1048576, "output": 65536 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] } - }, - "gemini-3-pro-preview": { - "name": "Gemini 3 Pro Preview (Gemini CLI)", - "limit": { "context": 1048576, "output": 65535 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] } - }, - "gemini-3.1-pro-preview": { - "name": "Gemini 3.1 Pro Preview (Gemini CLI)", - "limit": { "context": 1048576, "output": 65535 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] } - }, - "gemini-3.1-pro-preview-customtools": { - "name": "Gemini 3.1 Pro Preview Custom Tools (Gemini CLI)", - "limit": { "context": 1048576, "output": 65535 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] } - } - } - }, - "anthropic": { - "models": { - "claude-opus-4-6": { - "name": "Claude Opus 4.6", - "limit": { "context": 1048576, "output": 131072 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] } - }, - "claude-sonnet-4-6": { - "name": "Claude Sonnet 4.6", - "limit": { "context": 1048576, "output": 65536 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] } - }, - "claude-haiku-4-5-20251001": { - "name": "Claude Haiku 4.5", - "limit": { "context": 200000, "output": 65536 }, - "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] } - } - } - }, - "openai": { - "models": { - "gpt-5.4": { - "name": "GPT-5.4", - "limit": { "context": 1048576, "output": 131072 }, - "modalities": { "input": ["text", "image"], "output": ["text"] }, - "variants": { - "low": { "reasoning": { "effort": "low" } }, - "medium": { "reasoning": { "effort": "medium" } }, - "high": { "reasoning": { "effort": "high" } }, - "xhigh": { "reasoning": { "effort": "xhigh" } } - } - }, - "gpt-5.4-mini": { - "name": "GPT-5.4 Mini", - "limit": { "context": 400000, "output": 131072 }, - "modalities": { "input": ["text", "image"], "output": ["text"] }, - "variants": { - "low": { "reasoning": { "effort": "low" } }, - "medium": { "reasoning": { "effort": "medium" } }, - "high": { "reasoning": { "effort": "high" } }, - "xhigh": { "reasoning": { "effort": "xhigh" } } - } - } - } - } } } |
