Commit 048a14e9 authored by nick zheng's avatar nick zheng

fix: 剔除多模型测试代码冗余

parent 32eb29f4
...@@ -5,7 +5,6 @@ import { nanoid } from 'nanoid' ...@@ -5,7 +5,6 @@ import { nanoid } from 'nanoid'
import { throttle } from 'lodash-es' import { throttle } from 'lodash-es'
import { MessageItemInterface, MultiModelDialogueItem, QuestionMessageItem } from '../types' import { MessageItemInterface, MultiModelDialogueItem, QuestionMessageItem } from '../types'
import { fetchCustomEventSource } from '@/composables/useEventSource' import { fetchCustomEventSource } from '@/composables/useEventSource'
import Message from '@/components/custom-message/message'
const { t } = useI18n() const { t } = useI18n()
...@@ -154,8 +153,6 @@ function handleQuestionSubmit() { ...@@ -154,8 +153,6 @@ function handleQuestionSubmit() {
onFinally: () => { onFinally: () => {
modelItem.controller = null modelItem.controller = null
modelItem.isAnswerResponseWait = false modelItem.isAnswerResponseWait = false
Message({ type: 'error', text: '请求失败', to: '#vvv' })
}, },
}) })
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment