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

docs: update uni-ai

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