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

+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')
}
]
};