Skip to content

Commit 990c197

Browse files
ZengWen-DTsteipete
authored andcommitted
test(openrouter): propagate stream cancellation
1 parent 4ebbbdc commit 990c197

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎extensions/openrouter/music-generation-provider.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function sseResponse(
5959
controller.enqueue(encodeLine(line));
6060
},
6161
cancel() {
62-
options?.cancel?.();
62+
return options?.cancel?.();
6363
},
6464
}),
6565
{ status: 200, headers: { "content-type": "text/event-stream" } },

0 commit comments

Comments
 (0)