From 799a73655c0fbb6a0ca6c3df5225bf40da8dfae6 Mon Sep 17 00:00:00 2001 From: reanon <85157-reanon@users.noreply.gitgud.io> Date: Thu, 17 Apr 2025 20:55:01 +0000 Subject: [PATCH] Edit google-ai.ts --- src/proxy/google-ai.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/proxy/google-ai.ts b/src/proxy/google-ai.ts index 52fe145..f99f05e 100644 --- a/src/proxy/google-ai.ts +++ b/src/proxy/google-ai.ts @@ -41,12 +41,7 @@ const getModelsResponse = () => { // Get all model IDs from keys, including flash and pro models const modelIds = Array.from( new Set(keys.map((k) => k.modelIds).flat()) - ).filter((id) => id.startsWith("models/gemini") || - id.startsWith("models/") && ( - id.includes("flash") || - id.includes("pro") || - id.includes("vision") - )); + ).filter((id) => id.startsWith("models/")); const models = modelIds.map((id) => ({ id,