Add gemini support (#284)
This commit is contained in:
1 parent
2fed758f22
commit
623d124521
64 files changed
+972
-61
No files matched your search
@@ -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';
|
||||
|
||||
|
||||
@@ -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,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,
|
||||
|
||||
Reference in new issue
Block a user