Add Claude (#285)

This commit is contained in:
Germey authored and GitHub committed 2025-11-23 03:10:09 +08:00
1 parent 23adcddea3
commit 727f5eb2e1
64 files changed
+915 -10

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
import { CHAT_MODEL_GROUP_CLAUDE } from '@/constants';
import { ROUTE_CLAUDE_CONVERSATION, ROUTE_CLAUDE_CONVERSATION_NEW } from './constants';
export default {
path: '/claude',
meta: {
modelGroup: CHAT_MODEL_GROUP_CLAUDE,
appName: 'chat'
},
component: () => import('@/layouts/Main.vue'),
children: [
{
path: '',
redirect: {
name: ROUTE_CLAUDE_CONVERSATION_NEW
}
},
{
path: 'conversations',
name: ROUTE_CLAUDE_CONVERSATION_NEW,
component: () => import('@/pages/chat/Conversation.vue')
},
{
path: 'conversations/:id',
name: ROUTE_CLAUDE_CONVERSATION,
component: () => import('@/pages/chat/Conversation.vue')
}
]
};
+2
View File
@@ -15,6 +15,8 @@ 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_CLAUDE_CONVERSATION = 'claude-conversation';
export const ROUTE_CLAUDE_CONVERSATION_NEW = 'claude-conversation-new';
export const ROUTE_MIDJOURNEY_INDEX = 'midjourney-index';
+2
View File
@@ -3,6 +3,7 @@ import auth from './auth';
import console from './console';
import grok from './grok';
import gemini from './gemini';
import claude from './claude';
import deepseek from './deepseek';
import chatgpt from './chatgpt';
import midjourney from './midjourney';
@@ -37,6 +38,7 @@ const routes = [
chatgpt,
grok,
gemini,
claude,
deepseek,
qrart,
luma,