Skip to content

Commit 303b6f7

Browse files
author
Keivan Vosoughi
committed
Remove redundant Gemini Model
1 parent 1377563 commit 303b6f7

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

app/client/src/pages/Settings/AddModelProviderButton.tsx

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,7 @@ const modelProviderTypeOptions: CheckboxGroupProps<string>['options'] = [
2424
const OPENAI_MODELS = [
2525
"gpt-4.1", // Latest GPT-4.1 series (April 2025)
2626
"gpt-4.1-mini",
27-
"gpt-4.1-nano",
28-
"o3", // Latest reasoning models (April 2025)
29-
"o4-mini",
30-
"o3-mini", // January 2025
31-
"o1", // December 2024
32-
"gpt-4o", // November 2024
33-
"gpt-4o-mini", // July 2024
34-
"gpt-4-turbo", // April 2024
35-
"gpt-3.5-turbo" // Legacy but still widely used
27+
"gpt-4.1-nano"
3628
];
3729

3830
const OPENAI_MODELS_OPTIONS = OPENAI_MODELS.map((model: string) => ({
@@ -43,12 +35,7 @@ const OPENAI_MODELS_OPTIONS = OPENAI_MODELS.map((model: string) => ({
4335
const GEMINI_MODELS = [
4436
"gemini-2.5-pro", // June 2025 - most powerful thinking model
4537
"gemini-2.5-flash", // June 2025 - best price-performance
46-
"gemini-2.5-flash-lite", // June 2025 - cost-efficient
47-
"gemini-2.0-flash", // February 2025 - next-gen features
48-
"gemini-2.0-flash-lite", // February 2025 - low latency
49-
"gemini-1.5-pro", // September 2024 - complex reasoning
50-
"gemini-1.5-flash", // September 2024 - fast & versatile
51-
"gemini-1.5-flash-8b" // October 2024 - lightweight
38+
"gemini-2.5-flash-lite" // June 2025 - cost-efficient
5239
];
5340

5441
const GEMINI_MODELS_OPTIONS = GEMINI_MODELS.map((model: string) => ({

0 commit comments

Comments
 (0)