Skip to content
Open
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
Binary file added public/bots/gemini-2.5-flash-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/bots/gemini-2.5-pro-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/bots/google/Gemini25FlashAPIBot.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import GeminiAPIBot from "./GeminiAPIBot";

export default class Gemini25FlashAPIBot extends GeminiAPIBot {
static _className = "Gemini25FlashAPIBot";
static _logoFilename = "gemini-2.5-flash-logo.png";
static _model = "gemini-2.5-flash-preview-05-20";

constructor() {
super();
}
}
11 changes: 11 additions & 0 deletions src/bots/google/Gemini25ProAPIBot.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import GeminiAPIBot from "./GeminiAPIBot";

export default class Gemini25ProAPIBot extends GeminiAPIBot {
static _className = "Gemini25ProAPIBot";
static _logoFilename = "gemini-2.5-pro-logo.png"; // Place it in public/bots/
static _model = "gemini-2.5-pro-preview-06-05";

constructor() {
super();
}
}
6 changes: 6 additions & 0 deletions src/bots/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import Gemini15ProAPIBot from "@/bots/google/Gemini15ProAPIBot";
import Gemini15FlashAPIBot from "@/bots/google/Gemini15FlashAPIBot";
import Gemini20FlashAPIBot from "@/bots/google/Gemini20FlashAPIBot";
import Gemini20FlashLiteAPIBot from "@/bots/google/Gemini20FlashLiteAPIBot";
import Gemini25ProAPIBot from "@/bots/google/Gemini25ProAPIBot";
import Gemini25FlashAPIBot from "@/bots/google/Gemini25FlashAPIBot";
import ChatGPT4Bot from "@/bots/openai/ChatGPT4Bot";
import CohereAPICommandBot from "@/bots/cohere/CohereAPICommandBot";
import CohereAPICommandLightBot from "@/bots/cohere/CohereAPICommandLightBot";
Expand Down Expand Up @@ -97,6 +99,8 @@ const all = [
Gemini15FlashAPIBot.getInstance(),
Gemini20FlashAPIBot.getInstance(),
Gemini20FlashLiteAPIBot.getInstance(),
Gemini25ProAPIBot.getInstance(),
Gemini25FlashAPIBot.getInstance(),
AzureOpenAIAPIBot.getInstance(),
OpenAIAPI35Bot.getInstance(),
ChatGPT4Bot.getInstance(),
Expand Down Expand Up @@ -192,6 +196,8 @@ export const botTags = {
bots.getBotByClassName("Gemini15FlashAPIBot"),
bots.getBotByClassName("Gemini20FlashAPIBot"),
bots.getBotByClassName("Gemini20FlashLiteAPIBot"),
bots.getBotByClassName("Gemini25ProAPIBot"),
bots.getBotByClassName("Gemini25FlashAPIBot"),
bots.getBotByClassName("AzureOpenAIAPIBot"),
bots.getBotByClassName("OpenAIAPI35Bot"),
bots.getBotByClassName("OpenAIAPI4Bot"),
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@
"gemini-15-flash-latest": "Gemini 1.5 Flash",
"gemini-20-flash-001": "Gemini 2.0 Flash",
"gemini-20-flash-lite": "Gemini 2.0 Flash Lite",
"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro Vorschau",
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Vorschau",
"topK": "topK",
"topKPrompt": "Ein topK von 1 bedeutet, dass das ausgewählte Token das wahrscheinlichste unter allen Token im Vokabular des Modells ist (auch gieriges Decodieren genannt).",
"topP": "topP",
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@
"gemini-15-flash-latest": "Gemini 1.5 Flash",
"gemini-20-flash-001": "Gemini 2.0 Flash",
"gemini-20-flash-lite": "Gemini 2.0 Flash Lite",
"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro Preview",
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Preview",
"topK": "topK",
"topKPrompt": "A topK of 1 means the selected token is the most probable among all the tokens in the model's vocabulary (also called greedy decoding)",
"topP": "topP",
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@
"gemini-15-flash-latest": "Gemini 1.5 Flash",
"gemini-20-flash-001": "Gemini 2.0 Flash",
"gemini-20-flash-lite": "Gemini 2.0 Flash Lite",
"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro Preview",
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Preview",
Comment on lines +171 to +172

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Translate “Preview” into Spanish.
The values for gemini-2.5-pro-preview-06-05 and gemini-2.5-flash-preview-05-20 currently use the English word "Preview". Please replace with the Spanish equivalent, "Vista previa", for consistency.

Suggested diff:

-"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro Preview",
-"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Preview",
+"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro Vista previa",
+"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Vista previa",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro Preview",
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Preview",
"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro Vista previa",
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Vista previa",
🤖 Prompt for AI Agents
In src/i18n/locales/es.json around lines 171 to 172, the values for keys
"gemini-2.5-pro-preview-06-05" and "gemini-2.5-flash-preview-05-20" use the
English word "Preview". Replace "Preview" with the Spanish translation "Vista
previa" in both values to maintain language consistency.

"topK": "topP",
"topKPrompt": "Los tokens se seleccionan desde el más probable hasta el menos probable hasta que la suma de sus probabilidades iguale el valor de topP",
"topP": "topK",
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@
"gemini-15-flash-latest": "Gemini 1.5 Flash",
"gemini-20-flash-001": "Gemini 2.0 Flash",
"gemini-20-flash-lite": "Gemini 2.0 Flash Lite",
"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro Aperçu",
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Aperçu",
"topK": "topK",
"topKPrompt": "Un topK de 1 signifie que le jeton sélectionné est le plus probable parmi tous les jetons dans le vocabulaire du modèle (également appelé décodage gourmand).",
"topP": "topP",
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@
"gemini-15-flash-latest": "Gemini 1.5 Flash",
"gemini-20-flash-001": "Gemini 2.0 Flash",
"gemini-20-flash-lite": "Gemini 2.0 Flash Lite",
"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro Anteprima",
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Anteprima",
"topK": "topK",
"topKPrompt": "Un topK di 1 significa che il token selezionato è il più probabile tra tutti i token nel vocabolario del modello (chiamato anche decodifica avida).",
"topP": "topP",
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@
"gemini-15-flash-latest": "Gemini 1.5 Flash",
"gemini-20-flash-001": "Gemini 2.0 Flash",
"gemini-20-flash-lite": "Gemini 2.0 Flash Lite",
"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro プレビュー",
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash プレビュー",
"topK": "topK",
"topKPrompt": "topKの1は、モデルの語彙の中で選択されたトークンが最も確からしいことを意味します(貪欲デコードとも呼ばれます)",
"topP": "topP",
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@
"gemini-15-flash-latest": "Gemini 1.5 Flash",
"gemini-20-flash-001": "Gemini 2.0 Flash",
"gemini-20-flash-lite": "Gemini 2.0 Flash Lite",
"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro 프리뷰",
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash 프리뷰",
"topK": "topK",
"topKPrompt": "topK가 1이라는 것은 선택된 토큰이 모델의 어휘 중에서 가장 가능성이 높은 것을 의미합니다 (탐욕스러운 디코딩이라고도 함).",
"topP": "topP",
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@
"gemini-15-flash-latest": "Gemini 1.5 Flash",
"gemini-20-flash-001": "Gemini 2.0 Flash",
"gemini-20-flash-lite": "Gemini 2.0 Flash Lite",
"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro Превью",
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Превью",
"topK": "topK",
"topKPrompt": "topK, равный 1, означает, что выбранный токен является наиболее вероятным среди всех токенов в словаре модели (это также называется жадным декодированием).",
"topP": "topP",
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@
"gemini-15-flash-latest": "Gemini 1.5 Flash",
"gemini-20-flash-001": "Gemini 2.0 Flash",
"gemini-20-flash-lite": "Gemini 2.0 Flash Lite",
"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro Xem trước",
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash Xem trước",
"topK": "topK",
"topKPrompt": "Một topK của 1 có nghĩa là token được chọn là có khả năng cao nhất trong tất cả các token trong từ vựng của mô hình (còn được gọi là giải mã tham lam)",
"topP": "topP",
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@
"gemini-15-flash-latest": "Gemini 1.5 Flash",
"gemini-20-flash-001": "Gemini 2.0 Flash",
"gemini-20-flash-lite": "Gemini 2.0 Flash Lite",
"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro 预览版",
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash 预览版",
"topK": "topK",
"topKPrompt": "topK为1意味着选定的标记在模型词汇中所有标记里是最有可能的(也称为贪婪解码)",
"topP": "topP",
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/zhtw.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@
"gemini-15-flash-latest": "Gemini 1.5 Flash",
"gemini-20-flash-001": "Gemini 2.0 Flash",
"gemini-20-flash-lite": "Gemini 2.0 Flash Lite",
"gemini-2.5-pro-preview-06-05": "Gemini 2.5 Pro 預覽版",
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash 預覽版",
"topK": "topK",
"topKPrompt": "topK 為 1 表示選定的 token 是模型詞彙中所有 token 中最可能的(也稱為貪婪解碼)",
"topP": "topP",
Expand Down