Skip to content

Commit ce3e193

Browse files
alakKevin CATHALY
andauthored
close the stream after the final answer (#722)
Co-authored-by: Kevin CATHALY <alakme@kevins-mbp.home>
1 parent 77adc4d commit ce3e193

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/routes/conversation/[id]/+server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ export async function POST({ request, locals, params, getClientAddress }) {
349349
});
350350

351351
await summarizeIfNeeded;
352+
controller.close();
352353
return;
353354
},
354355
async cancel() {

0 commit comments

Comments
 (0)