diff --git a/src/components/chat/Sidebar.vue b/src/components/chat/Sidebar.vue index f9f3380..d3026d5 100644 --- a/src/components/chat/Sidebar.vue +++ b/src/components/chat/Sidebar.vue @@ -29,9 +29,8 @@ import { defineComponent } from 'vue'; import { ElTooltip, ElButton, ElSkeleton } from 'element-plus'; import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'; -import { ROUTE_CHAT_CONVERSATION, ROUTE_CHAT_INDEX } from '@/router/constants'; -import { apiUsageOperator, midjourneyOperator, MidjourneyImagineState, IApplication, chatOperator } from '@/operators'; -import { chatgptOperator } from '@/operators/api/chatgpt/operator'; +import { ROUTE_CHAT_CONVERSATION } from '@/router/constants'; +import { apiUsageOperator, IApplication, chatOperator } from '@/operators'; import { IChatConversation } from '@/operators/chat/models'; interface IData { diff --git a/src/components/common/ApiStatus.vue b/src/components/common/ApiStatus.vue index adba479..8c76c13 100644 --- a/src/components/common/ApiStatus.vue +++ b/src/components/common/ApiStatus.vue @@ -1,8 +1,8 @@ - - diff --git a/src/router/conversation.ts b/src/router/conversation.ts deleted file mode 100644 index 4a856eb..0000000 --- a/src/router/conversation.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { ROUTE_CONVERSATION_DETAIL, ROUTE_CONVERSATION_NEW } from './constants'; - -export default { - path: '/conversations', - component: () => import('@/layouts/Conversation.vue'), - children: [ - { - path: '', - name: ROUTE_CONVERSATION_NEW, - component: () => import('@/pages/conversation/Main.vue') - }, - { - path: ':id', - name: ROUTE_CONVERSATION_DETAIL, - component: () => import('@/pages/conversation/Main.vue') - } - ] -};