ai对话优化知识库选择

This commit is contained in:
2025-12-29 18:40:26 +08:00
parent a33720b9f6
commit 4b6cb726d2
14 changed files with 249 additions and 81 deletions

View File

@@ -354,13 +354,14 @@
}
// 准备流式对话(包含文件)
const prepareData = {
const prepareData: ChatPrepareData = {
chatId: chatId.value,
query: query,
agentId: agentId,
userType: userType.value,
userId: userInfo.value.userId,
files: files.length > 0 ? files : undefined
files: files.length > 0 ? files : undefined,
service: "workcase"
}
console.log('准备流式对话参数:', JSON.stringify(prepareData))