Commit d80a25f3 authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

Beta

See merge request !135
parents 4b38baaa c740ff5d
...@@ -7,6 +7,7 @@ import fetchEventStreamSource from '../utils/fetch-event-stream-source' ...@@ -7,6 +7,7 @@ import fetchEventStreamSource from '../utils/fetch-event-stream-source'
import { throttle } from 'lodash-es' import { throttle } from 'lodash-es'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { useUserStore } from '@/store/modules/user' import { useUserStore } from '@/store/modules/user'
import { ChannelType } from '@/enums/channel'
interface Props { interface Props {
currentSessionId: string currentSessionId: string
...@@ -166,6 +167,7 @@ function questionSubmit() { ...@@ -166,6 +167,7 @@ function questionSubmit() {
agentId: currentAgentApplication.value.agentId, //应用ID agentId: currentAgentApplication.value.agentId, //应用ID
input: questionContent.value.trim(), //提问文本 input: questionContent.value.trim(), //提问文本
fileUrls: currentInputFileInfo.value.url ? [currentInputFileInfo.value.url] : [], fileUrls: currentInputFileInfo.value.url ? [currentInputFileInfo.value.url] : [],
channel: ChannelType.index,
}, },
{ {
onmessage: (message) => { onmessage: (message) => {
......
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