app/ui: add gemini-3-pro-preview to featured list
This commit is contained in:
parent
604e43b28d
commit
32393f11d7
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue