Add gemini support (#284)

This commit is contained in:
Germey authored and GitHub committed 2025-11-23 00:51:28 +08:00
1 parent 2fed758f22
commit 623d124521
64 files changed
+972 -61

No files matched your search

+13 -3
View File
@@ -32,7 +32,12 @@ import { defineComponent } from 'vue';
import { ElDropdown, ElDropdownItem, ElDropdownMenu } from 'element-plus';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
import { IChatModelGroup } from '@/models';
import { CHAT_MODEL_GROUP_CHATGPT, CHAT_MODEL_GROUP_DEEPSEEK, CHAT_MODEL_GROUP_GROK } from '@/constants';
import {
CHAT_MODEL_GROUP_CHATGPT,
CHAT_MODEL_GROUP_DEEPSEEK,
CHAT_MODEL_GROUP_GROK,
CHAT_MODEL_GROUP_GEMINI
} from '@/constants';
interface IData {
options: IChatModelGroup[];
@@ -49,7 +54,7 @@ export default defineComponent({
emits: ['update:modelValue', 'select', 'model-group-changed', 'model-changed'],
data(): IData {
return {
options: [CHAT_MODEL_GROUP_CHATGPT, CHAT_MODEL_GROUP_DEEPSEEK, CHAT_MODEL_GROUP_GROK]
options: [CHAT_MODEL_GROUP_CHATGPT, CHAT_MODEL_GROUP_DEEPSEEK, CHAT_MODEL_GROUP_GROK, CHAT_MODEL_GROUP_GEMINI]
};
},
computed: {
@@ -72,7 +77,12 @@ export default defineComponent({
mounted() {
// renew models if modelGroup is already set
console.debug('ModelSelector mounted, checking model group');
const modelGroups = [CHAT_MODEL_GROUP_CHATGPT, CHAT_MODEL_GROUP_DEEPSEEK, CHAT_MODEL_GROUP_GROK];
const modelGroups = [
CHAT_MODEL_GROUP_CHATGPT,
CHAT_MODEL_GROUP_DEEPSEEK,
CHAT_MODEL_GROUP_GROK,
CHAT_MODEL_GROUP_GEMINI
];
const foundGroup = modelGroups.find((group) => group.name === this.modelGroup.name);
console.debug('Found model group:', foundGroup);
if (foundGroup) {
+19 -1
View File
@@ -40,6 +40,8 @@ import {
ROUTE_DEEPSEEK_CONVERSATION,
ROUTE_GROK_CONVERSATION_NEW,
ROUTE_GROK_CONVERSATION,
ROUTE_GEMINI_CONVERSATION_NEW,
ROUTE_GEMINI_CONVERSATION,
ROUTE_KLING_INDEX,
ROUTE_KLING_HISTORY,
ROUTE_PIXVERSE_INDEX,
@@ -50,7 +52,12 @@ import {
ROUTE_SORA_HISTORY,
ROUTE_NANOBANANA_INDEX
} from '@/router/constants';
import { CHAT_MODEL_ICON_CHATGPT, CHAT_MODEL_ICON_DEEPSEEK, CHAT_MODEL_ICON_GROK } from '@/constants/chat';
import {
CHAT_MODEL_ICON_CHATGPT,
CHAT_MODEL_ICON_DEEPSEEK,
CHAT_MODEL_ICON_GROK,
CHAT_MODEL_ICON_GEMINI
} from '@/constants/chat';
import Logo from './Logo.vue';
import UserCenter from '@/components/user/Center.vue';
@@ -113,6 +120,17 @@ export default defineComponent({
routes: [ROUTE_GROK_CONVERSATION, ROUTE_GROK_CONVERSATION_NEW]
});
}
// Add gemini's leftmost icon
if (this.$store?.state?.site?.features?.gemini?.enabled) {
result.push({
route: {
name: ROUTE_GEMINI_CONVERSATION_NEW
},
displayName: this.$t('common.nav.gemini'),
logo: CHAT_MODEL_ICON_GEMINI,
routes: [ROUTE_GEMINI_CONVERSATION, ROUTE_GEMINI_CONVERSATION_NEW]
});
}
// Add midjourney's leftmost icon
if (this.$store?.state?.site?.features?.midjourney?.enabled) {
result.push({
+1
View File
@@ -4,6 +4,7 @@
v-for="(feature, featureIndex) in [
'chatgpt',
'grok',
'gemini',
'deepseek',
'midjourney',
'qrart',
+45 -2
View File
@@ -23,10 +23,14 @@ export const CHAT_MODEL_NAME_GROK_4 = 'grok-4';
export const CHAT_MODEL_NAME_GROK_3 = 'grok-3';
export const CHAT_MODEL_NAME_GROK_3_REASONER = 'grok-3-reasoning';
export const CHAT_MODEL_NAME_GROK_3_DEEPSEARCH = 'grok-3-deepsearch';
export const CHAT_MODEL_NAME_GEMINI_3_0_PRO = 'gemini-3.0-pro';
export const CHAT_MODEL_NAME_GEMINI_2_5_PRO = 'gemini-2.5-pro';
export const CHAT_MODEL_NAME_GEMINI_2_5_FLASH = 'gemini-2.5-flash';
export const CHAT_MODEL_ICON_CHATGPT = 'https://cdn.acedata.cloud/7dljuv.png';
export const CHAT_MODEL_ICON_GROK = 'https://cdn.acedata.cloud/p1ge98.png';
export const CHAT_MODEL_ICON_DEEPSEEK = 'https://cdn.acedata.cloud/4rb23t.jpg';
export const CHAT_MODEL_ICON_GEMINI = 'https://cdn.acedata.cloud/psfx0g.jpg';
export const CHAT_SERVICE_ID = 'b1fbcc32-e218-4253-9dc3-4fe600a1bfb9';
@@ -207,6 +211,33 @@ export const CHAT_MODEL_GROK_3_DEEPSEARCH: IChatModel = {
getDescription: () => i18n.global.t('chat.model.grok3DeepsearchDescription')
};
export const CHAT_MODEL_GEMINI_3_0_PRO: IChatModel = {
enabled: true,
name: CHAT_MODEL_NAME_GEMINI_3_0_PRO,
icon: CHAT_MODEL_ICON_GEMINI,
modelGroup: 'gemini',
getDisplayName: () => i18n.global.t('chat.model.gemini30Pro'),
getDescription: () => i18n.global.t('chat.model.gemini30ProDescription')
};
export const CHAT_MODEL_GEMINI_2_5_PRO: IChatModel = {
enabled: true,
name: CHAT_MODEL_NAME_GEMINI_2_5_PRO,
icon: CHAT_MODEL_ICON_GEMINI,
modelGroup: 'gemini',
getDisplayName: () => i18n.global.t('chat.model.gemini25Pro'),
getDescription: () => i18n.global.t('chat.model.gemini25ProDescription')
};
export const CHAT_MODEL_GEMINI_2_5_FLASH: IChatModel = {
enabled: true,
name: CHAT_MODEL_NAME_GEMINI_2_5_FLASH,
icon: CHAT_MODEL_ICON_GEMINI,
modelGroup: 'gemini',
getDisplayName: () => i18n.global.t('chat.model.gemini25Flash'),
getDescription: () => i18n.global.t('chat.model.gemini25FlashDescription')
};
export const CHAT_MODEL_GROUP_CHATGPT: IChatModelGroup = {
icon: CHAT_MODEL_ICON_CHATGPT,
name: 'chatgpt',
@@ -243,6 +274,14 @@ export const CHAT_MODEL_GROUP_GROK: IChatModelGroup = {
models: [CHAT_MODEL_GROK_4, CHAT_MODEL_GROK_3, CHAT_MODEL_GROK_3_REASONER, CHAT_MODEL_GROK_3_DEEPSEARCH]
};
export const CHAT_MODEL_GROUP_GEMINI: IChatModelGroup = {
icon: CHAT_MODEL_ICON_GEMINI,
name: 'gemini',
getDisplayName: () => i18n.global.t('chat.modelGroup.gemini'),
getDescription: () => i18n.global.t('chat.modelGroup.geminiDescription'),
models: [CHAT_MODEL_GEMINI_3_0_PRO, CHAT_MODEL_GEMINI_2_5_PRO, CHAT_MODEL_GEMINI_2_5_FLASH]
};
export const CHAT_MODELS: IChatModel[] = [
CHAT_MODEL_GPT_5_ALL,
CHAT_MODEL_GPT_5,
@@ -259,11 +298,15 @@ export const CHAT_MODELS: IChatModel[] = [
CHAT_MODEL_GROK_4,
CHAT_MODEL_GROK_3,
CHAT_MODEL_GROK_3_REASONER,
CHAT_MODEL_GROK_3_DEEPSEARCH
CHAT_MODEL_GROK_3_DEEPSEARCH,
CHAT_MODEL_GEMINI_3_0_PRO,
CHAT_MODEL_GEMINI_2_5_PRO,
CHAT_MODEL_GEMINI_2_5_FLASH
];
export const CHAT_MODEL_GROUPS: IChatModelGroup[] = [
CHAT_MODEL_GROUP_CHATGPT,
CHAT_MODEL_GROUP_DEEPSEEK,
CHAT_MODEL_GROUP_GROK
CHAT_MODEL_GROUP_GROK,
CHAT_MODEL_GROUP_GEMINI
];
+33 -1
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "في وقت سابق",
"description": "اسم المجموعة في الصفحة، أي في وقت سابق"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "إعدادات الوظائف",
"description": "عنوان قسم إعدادات الوظائف في صفحة الإعدادات"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "معطل",
"description": "نص التبديل، يشير إلى أنه تم تعطيله"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "Früher",
"description": "网页中的分组名称,即 更早"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "Funktionseinstellungen",
"description": "Titel des Abschnitts für Funktionseinstellungen auf der Einstellungsseite"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "Deaktiviert",
"description": "Schaltertext, der anzeigt, dass es deaktiviert ist"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -242,5 +242,37 @@
"group.earlier": {
"message": "Πιο νωρίς",
"description": "Το όνομα της ομάδας στην ιστοσελίδα, δηλαδή Πιο νωρίς"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "Ρυθμίσεις λειτουργίας",
"description": "Επικεφαλίδα της ενότητας ρυθμίσεων λειτουργίας στη σελίδα ρυθμίσεων"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "Απενεργοποιημένο",
"description": "Κείμενο διακόπτη που δηλώνει ότι είναι απενεργοποιημένο"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "Earlier",
"description": "The group name in the webpage, which is Earlier"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "Function Settings",
"description": "Title for the function settings section in the settings page"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "Disabled",
"description": "Toggle text indicating that it is disabled"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "Más temprano",
"description": "Nombre del grupo en la página web, es decir, Más temprano"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "Configuración de funciones",
"description": "Título de la sección de configuración de funciones en la página de configuración"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "Deshabilitado",
"description": "Texto del interruptor que indica que está deshabilitado"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "Aikaisemmin",
"description": "Verkkosivun ryhmän nimi, eli Aikaisemmin"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "Toiminta-asetukset",
"description": "Asetussivun toiminta-asetusten osion otsikko"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "Poistettu käytöstä",
"description": "Kytkin teksti, joka osoittaa, että se on poistettu käytöstä"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -218,5 +218,37 @@
"group.earlier": {
"message": "Plus tôt",
"description": "Nom du groupe dans la page web, c'est-à-dire Plus tôt"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "Paramètres de fonctionnalité",
"description": "Titre de la section des paramètres de fonctionnalité dans la page des paramètres"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "Désactivé",
"description": "Texte du commutateur indiquant que c'est désactivé"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "Prima",
"description": "Nome del gruppo nella pagina web, ovvero Prima"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "Impostazioni delle funzionalità",
"description": "Titolo della sezione impostazioni delle funzionalità nella pagina delle impostazioni"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "Disabilitato",
"description": "Testo dell'interruttore che indica che è stato disabilitato"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -138,5 +138,37 @@
"group.earlier": {
"message": "以前",
"description": "ウェブページ内のグループ名、すなわち 以前"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "機能設定",
"description": "設定ページの機能設定部分のタイトル"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "無効",
"description": "スイッチのテキスト、無効になっていることを示します"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "더 이전",
"description": "웹페이지의 그룹 이름, 즉 더 이전"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "기능 설정",
"description": "설정 페이지의 기능 설정 섹션 제목"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "비활성화됨",
"description": "스위치 텍스트, 비활성화되었음을 나타냄"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "Wcześniej",
"description": "Nazwa grupy na stronie, czyli Wcześniej"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "Ustawienia funkcji",
"description": "Tytuł sekcji ustawień funkcji na stronie ustawień"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "Wyłączone",
"description": "Tekst przełącznika, który wskazuje, że jest wyłączone"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "Mais cedo",
"description": "Nome do grupo na página da web, ou seja, Mais cedo"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "Configurações de Funcionalidade",
"description": "Título da seção de configurações de funcionalidade na página de configurações"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "Desativado",
"description": "Texto do botão que indica que está desativado"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "Ранее",
"description": "网页中的分组名称,即 更早"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "Настройки функций",
"description": "Заголовок раздела настроек функций на странице настроек"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "Отключено",
"description": "Текст переключателя, указывающий, что функция отключена"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "Ranije",
"description": "Naziv grupe na stranici, tj. Ranije"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "Postavke funkcija",
"description": "Naslov dela sa postavkama funkcija na stranici sa postavkama"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "Onemogućeno",
"description": "Tekst prekidača koji označava da je onemogućeno"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "Tidigare",
"description": "Webbplatsens gruppnamn, det vill säga Tidigare"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "Funktionsinställningar",
"description": "Titeln på avsnittet för funktionsinställningar på inställningssidan"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "Inaktiverad",
"description": "Text på knappen som indikerar att den är inaktiverad"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+33 -1
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "Раніше",
"description": "Назва групи на веб-сторінці, тобто Раніше"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "Налаштування функцій",
"description": "Заголовок розділу налаштувань функцій на сторінці налаштувань"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "Вимкнено",
"description": "Текст перемикача, що вказує на те, що функція вимкнена"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+32
View File
@@ -342,5 +342,37 @@
"group.earlier": {
"message": "更早",
"description": "网页中的分组名称,即 更早"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
+4
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "功能设置",
"description": "设置页面中的功能设置部分的标题"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
+8
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "已禁用",
"description": "开关文字,表示已经禁用"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
+33 -1
View File
@@ -206,5 +206,37 @@
"group.earlier": {
"message": "更早",
"description": "网页中的分组名称,即 更早"
},
"modelGroup.gemini": {
"message": "Gemini",
"description": "The name of the service model, i.e., Gemini"
},
"modelGroup.geminiDescription": {
"message": "AI model developed by Google",
"description": "Description of the Gemini model"
},
"model.gemini30Pro": {
"message": "gemini-3.0-pro",
"description": "The name of the service model"
},
"model.gemini30ProDescription": {
"message": "Suitable for advanced reasoning and multimodal tasks",
"description": "Description of the Gemini 3.0 Pro model"
},
"model.gemini25Pro": {
"message": "gemini-2.5-pro",
"description": "The name of the service model"
},
"model.gemini25ProDescription": {
"message": "Great all-round model",
"description": "Description of the Gemini 2.5 Pro model"
},
"model.gemini25Flash": {
"message": "gemini-2.5-flash",
"description": "The name of the service model"
},
"model.gemini25FlashDescription": {
"message": "Fast and lightweight Gemini model",
"description": "Description of the Gemini 2.5 Flash model"
}
}
}
+5 -1
View File
@@ -566,5 +566,9 @@
"settings.function": {
"message": "功能設置",
"description": "設置頁面中的功能設置部分的標題"
},
"nav.gemini": {
"message": "Gemini",
"description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'"
}
}
}
+9 -1
View File
@@ -374,5 +374,13 @@
"button.disabled": {
"message": "已禁用",
"description": "開關文字,表示已經禁用"
},
"field.featuresGemini": {
"message": "Gemini",
"description": "Displayed as the title in the editing box"
},
"message.featuresGemini": {
"message": "Enable or disable the Gemini feature module.",
"description": "Description of the Gemini feature"
}
}
}
+10 -4
View File
@@ -19,7 +19,10 @@ import {
CHAT_MODEL_NAME_GPT_5_MINI,
CHAT_MODEL_NAME_GPT_5_ALL,
CHAT_MODEL_NAME_GPT_4O_ALL,
CHAT_MODEL_NAME_GROK_4
CHAT_MODEL_NAME_GROK_4,
CHAT_MODEL_NAME_GEMINI_2_5_FLASH,
CHAT_MODEL_NAME_GEMINI_2_5_PRO,
CHAT_MODEL_NAME_GEMINI_3_0_PRO
} from '@/constants';
export type IChatModelName =
@@ -41,13 +44,16 @@ export type IChatModelName =
| typeof CHAT_MODEL_NAME_O3
| typeof CHAT_MODEL_NAME_O4_MINI
| typeof CHAT_MODEL_NAME_GPT_4O_IMAGE
| typeof CHAT_MODEL_NAME_O3;
| typeof CHAT_MODEL_NAME_O3
| typeof CHAT_MODEL_NAME_GEMINI_3_0_PRO
| typeof CHAT_MODEL_NAME_GEMINI_2_5_PRO
| typeof CHAT_MODEL_NAME_GEMINI_2_5_FLASH;
export interface IChatModel {
enabled?: boolean;
name: IChatModelName;
icon: string;
modelGroup?: 'chatgpt' | 'deepseek' | 'grok';
modelGroup?: 'chatgpt' | 'deepseek' | 'grok' | 'gemini';
getDisplayName: () => string;
getDescription: () => string;
isSearchSupported?: boolean;
@@ -58,7 +64,7 @@ export interface IChatModel {
}
export interface IChatModelGroup {
name: 'chatgpt' | 'deepseek' | 'grok';
name: 'chatgpt' | 'deepseek' | 'grok' | 'gemini';
icon: string;
getDisplayName: () => string;
getDescription: () => string;
+1
View File
@@ -2,6 +2,7 @@ export interface ISiteFeatures {
chatgpt?: any;
deepseek?: any;
grok?: any;
gemini?: any;
midjourney?: any;
flux?: any;
qrart?: any;
+2
View File
@@ -13,6 +13,8 @@ export const ROUTE_DEEPSEEK_CONVERSATION_NEW = 'deepseek-conversation-new';
export const ROUTE_GROK_CONVERSATION = 'grok-conversation';
export const ROUTE_GROK_CONVERSATION_NEW = 'grok-conversation-new';
export const ROUTE_GEMINI_CONVERSATION = 'gemini-conversation';
export const ROUTE_GEMINI_CONVERSATION_NEW = 'gemini-conversation-new';
export const ROUTE_MIDJOURNEY_INDEX = 'midjourney-index';
+29
View File
@@ -0,0 +1,29 @@
import { CHAT_MODEL_GROUP_GEMINI } from '@/constants';
import { ROUTE_GEMINI_CONVERSATION, ROUTE_GEMINI_CONVERSATION_NEW } from './constants';
export default {
path: '/gemini',
meta: {
modelGroup: CHAT_MODEL_GROUP_GEMINI,
appName: 'chat'
},
component: () => import('@/layouts/Main.vue'),
children: [
{
path: '',
redirect: {
name: ROUTE_GEMINI_CONVERSATION_NEW
}
},
{
path: 'conversations',
name: ROUTE_GEMINI_CONVERSATION_NEW,
component: () => import('@/pages/chat/Conversation.vue')
},
{
path: 'conversations/:id',
name: ROUTE_GEMINI_CONVERSATION,
component: () => import('@/pages/chat/Conversation.vue')
}
]
};
+2
View File
@@ -2,6 +2,7 @@ import { createRouter, createWebHistory } from 'vue-router';
import auth from './auth';
import console from './console';
import grok from './grok';
import gemini from './gemini';
import deepseek from './deepseek';
import chatgpt from './chatgpt';
import midjourney from './midjourney';
@@ -35,6 +36,7 @@ const routes = [
auth,
chatgpt,
grok,
gemini,
deepseek,
qrart,
luma,