Skip to content

Commit 475367c

Browse files
committed
fix
1 parent 0582d84 commit 475367c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/worker/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ async function streamAiResponse(
6464
const reader = response.getReader();
6565
const decoder = new TextDecoder();
6666
let fullResponse = '';
67-
let lastUpdate = Date.now();
67+
let lastUpdate = 0;
6868

6969
while (true) {
7070
const { done, value } = await reader.read();

0 commit comments

Comments
 (0)