Commit cddaf637 authored by nick zheng's avatar nick zheng

fix: 首页提问设置渠道

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