Commit 0af1d7a8 by Liu

fix:正常知识问答提交参数

parent 329dce88
......@@ -239,8 +239,6 @@ export const Chat: React.FC = () => {
/** 提交问题 */
const handleSubmitQuestion = async (question: string, productCode?: string, toolId?: string) => {
const resolvedToolId = toolId ?? currentToolId ?? undefined
const busiType = '01'
const recordType = 'A01'
// 停止之前的请求
if (abortControllerRef.current) {
abortControllerRef.current.abort()
......@@ -290,8 +288,6 @@ export const Chat: React.FC = () => {
stream: true,
productCode,
toolId: resolvedToolId,
busiType,
recordType,
},
(msg) => {
// 检查是否已被取消
......
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