Skip to content

Commit 0142376

Browse files
committed
🐛 fix summary request hangout bug
1 parent 8ae64d5 commit 0142376

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/handler/http/aigcController.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ export class AigcController {
6060
})
6161

6262
if (summary) {
63-
await writable.getWriter().write(summary)
64-
return new Response(readable, {
63+
return new Response(summary.content, {
6564
headers: { 'Content-Type': 'text/event-stream; charset=utf-8', ...corsHeader }
6665
})
6766
}

0 commit comments

Comments
 (0)