mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: 优化对话流处理
This commit is contained in:
parent
d7f6ec1fba
commit
bf87fbe203
|
|
@ -290,7 +290,8 @@ function chatMessage() {
|
|||
ChatManagement.append(id, content)
|
||||
}
|
||||
if (chunk.is_end) {
|
||||
ChatManagement.close(id)
|
||||
// 流处理成功 返回成功回调
|
||||
return Promise.resolve()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue