Migrate new service (#1)
This commit is contained in:
1 parent
f13ca37d63
commit
28da0263dc
109 files changed
+1160
-1053
No files matched your search
@@ -69,7 +69,8 @@ import { defineComponent } from 'vue';
|
||||
import { ElSkeleton, ElInput } from 'element-plus';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
import { ROUTE_CHATDOC_CONVERSATION, ROUTE_CHATDOC_CONVERSATION_NEW } from '@/router/constants';
|
||||
import { IChatdocRepository, chatdocOperator, IChatdocConversation } from '@/operators';
|
||||
import { chatdocOperator } from '@/operators';
|
||||
import { IChatdocRepository, IChatdocConversation } from '@/models';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'SidePanel',
|
||||
@@ -93,8 +94,8 @@ export default defineComponent({
|
||||
conversations() {
|
||||
return this.repository?.conversations;
|
||||
},
|
||||
applications() {
|
||||
return this.$store.state.chatdoc.applications;
|
||||
application() {
|
||||
return this.$store.state.chatdoc.application;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElInput, ElMessage, ElTooltip, ElUpload } from 'element-plus';
|
||||
import { ElInput } from 'element-plus';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
import { CHAT_MODEL_CHATGPT4_VISION, IChatModel } from '@/operators';
|
||||
import { IChatModel } from '@/models';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'InputBox',
|
||||
|
||||
@@ -27,7 +27,7 @@ import AnsweringMark from './AnsweringMark.vue';
|
||||
import copy from 'copy-to-clipboard';
|
||||
import { ElAlert, ElButton } from 'element-plus';
|
||||
import MarkdownRenderer from '@/components/common/MarkdownRenderer.vue';
|
||||
import { IChatdocMessage, IChatdocMessageState } from '@/operators';
|
||||
import { IChatdocMessage, IChatdocMessageState } from '@/models';
|
||||
import CopyToClipboard from '../common/CopyToClipboard.vue';
|
||||
import {
|
||||
ERROR_CODE_API_ERROR,
|
||||
|
||||
@@ -69,8 +69,8 @@ import { defineComponent } from 'vue';
|
||||
import { ElSkeleton, ElInput } from 'element-plus';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
import { ROUTE_CHAT_CONVERSATION, ROUTE_CHAT_CONVERSATION_NEW } from '@/router/constants';
|
||||
import { chatdocOperator, IChatdocRepository } from '@/operators';
|
||||
import { Status } from '@/store/common/models';
|
||||
import { IChatdocRepository } from '@/models';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'SidePanel',
|
||||
|
||||
Reference in new issue
Block a user