From 9f155501b829827c667e8ad20384be2517acfb5b Mon Sep 17 00:00:00 2001 From: David Chen Date: Wed, 3 Dec 2025 10:54:25 -0800 Subject: [PATCH] opencode: use a separate provider for gemini-3-pro-preview --- opencode/opencode.json | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/opencode/opencode.json b/opencode/opencode.json index 721256f..a8e66ab 100644 --- a/opencode/opencode.json +++ b/opencode/opencode.json @@ -43,9 +43,6 @@ "apiKey": "sk-dummy" }, "models": { - "gemini-3-pro-preview": { - "name": "Gemini 3 Pro Preview (Proxy)" - }, "gpt-5.1-codex-max": { "name": "GPT-5.1 Codex Max (High)", "options": { @@ -60,6 +57,19 @@ } } } + }, + "cliproxyapi-google": { + "npm": "@ai-sdk/google", + "name": "CLIProxyAPI (Google)", + "options": { + "baseURL": "http://127.0.0.1:8317/v1beta", + "apiKey": "sk-dummy" + }, + "models": { + "gemini-3-pro-preview": { + "name": "Gemini 3 Pro Preview (Google OAuth)" + } + } } }, "agent": {