提交 95201c3d 编写于 作者: 雪洛's avatar 雪洛

docs: update uni-ai

上级 74631d25
......@@ -378,7 +378,10 @@ exports.main = async (event, context) => {
})
streamRes.on('end', async () => {
console.log('---end----') // 响应结束
await sseChannel.end({ errCode: 0 })
await sseChannel.end({
errCode: 0,
errMsg: ''
})
resolve({
errCode: 0,
errMsg: ''
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册