From 23ef2ed27926bcb3eb96dee106dfa78368460a31 Mon Sep 17 00:00:00 2001 From: Will Chen Date: Tue, 18 Nov 2025 16:13:22 -0800 Subject: [PATCH] Gemini 3 (#1819) > [!NOTE] > Adds `gemini-3-pro-preview` to Google model options with 1,048,576 context window and 65,535 max output tokens. > > Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 6aefc4449908e862476f61c0bcb2a625111256a3. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot). ## Summary by cubic Added Gemini 3 Pro (Preview) to the Google model list so users can select it in the app. Sets a 1,048,576-token context window and a safe max output of 65,535 tokens, with temperature 1.0. Written for commit 6aefc4449908e862476f61c0bcb2a625111256a3. Summary will update automatically on new commits. --- src/ipc/shared/language_model_constants.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/ipc/shared/language_model_constants.ts b/src/ipc/shared/language_model_constants.ts index cc110b8..7cb7387 100644 --- a/src/ipc/shared/language_model_constants.ts +++ b/src/ipc/shared/language_model_constants.ts @@ -176,6 +176,18 @@ export const MODEL_OPTIONS: Record = { }, ], google: [ + // https://ai.google.dev/gemini-api/docs/models#gemini-3-pro + { + name: "gemini-3-pro-preview", + displayName: "Gemini 3 Pro (Preview)", + description: "Google's latest Gemini model", + // See Flash 2.5 comment below (go 1 below just to be safe, even though it seems OK now). + maxOutputTokens: 65_536 - 1, + // Gemini context window = input token + output token + contextWindow: 1_048_576, + temperature: 1.0, + dollarSigns: 4, + }, // https://ai.google.dev/gemini-api/docs/models#gemini-2.5-pro-preview-03-25 { name: "gemini-2.5-pro",