Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gemini 2.0 Flash to the model selection GUI #4443

Merged
merged 1 commit into from
Mar 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions gui/src/pages/AddNewModel/configs/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,20 @@ export const models: { [key: string]: ModelPackage } = {
providerOptions: ["gemini"],
isOpenSource: false,
},
gemini20Flash: {
title: "Gemini 2.0 Flash",
description:
"Google's powerful workhorse model with low latency and enhanced performance.",
params: {
title: "Gemini 2.0 Flash",
model: "gemini-2.0-flash",
contextLength: 1_000_000,
apiKey: "<API_KEY>",
},
icon: "gemini.png",
providerOptions: ["gemini"],
isOpenSource: false,
},
commandR: {
title: "Command R",
description:
Expand Down
7 changes: 6 additions & 1 deletion gui/src/pages/AddNewModel/configs/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,12 @@ Select the \`GPT-4o\` model below to complete your provider configuration, but n
required: true,
},
],
packages: [models.gemini15Pro, models.geminiPro, models.gemini15Flash],
packages: [
models.gemini20Flash,
models.gemini15Pro,
models.geminiPro,
models.gemini15Flash,
],
apiKeyUrl: "https://aistudio.google.com/app/apikey",
},
xAI: {
Expand Down
Loading