diff --git a/app/ui/app/src/api.ts b/app/ui/app/src/api.ts index a06e4e00b..d4fb9861a 100644 --- a/app/ui/app/src/api.ts +++ b/app/ui/app/src/api.ts @@ -25,7 +25,7 @@ declare module "@/gotypes" { } Model.prototype.isCloud = function (): boolean { - return this.model.endsWith("cloud"); + return this.model.endsWith("cloud") || this.model === "gemini-3-pro-preview"; }; // Helper function to convert Uint8Array to base64 diff --git a/app/ui/app/src/utils/mergeModels.ts b/app/ui/app/src/utils/mergeModels.ts index abbfe00b8..89d68ac97 100644 --- a/app/ui/app/src/utils/mergeModels.ts +++ b/app/ui/app/src/utils/mergeModels.ts @@ -4,6 +4,7 @@ import { Model } from "@/gotypes"; export const FEATURED_MODELS = [ "gpt-oss:120b-cloud", "gpt-oss:20b-cloud", + "gemini-3-pro-preview", "deepseek-v3.1:671b-cloud", "qwen3-coder:480b-cloud", "qwen3-vl:235b-cloud", @@ -40,7 +41,9 @@ export function mergeModels( const cloudModels = [...allModels.filter((m) => m.isCloud())]; // Add any cloud models from FEATURED_MODELS that aren't in local models - FEATURED_MODELS.filter((f) => f.endsWith("cloud")).forEach((cloudModel) => { + FEATURED_MODELS.filter( + (f) => f.endsWith("cloud") || f === "gemini-3-pro-preview", + ).forEach((cloudModel) => { if (!cloudModels.some((m) => m.model === cloudModel)) { cloudModels.push(new Model({ model: cloudModel })); } @@ -48,7 +51,7 @@ export function mergeModels( // 2. Get other featured models (non-cloud) const featuredModels = FEATURED_MODELS.filter( - (f) => !f.endsWith("cloud"), + (f) => !f.endsWith("cloud") && f !== "gemini-3-pro-preview", ).map((model) => { // Check if this model exists in local models const localMatch = allModels.find(