diff --git a/src/assets/js/main.js b/src/assets/js/main.js index c017bfa..2625aba 100644 --- a/src/assets/js/main.js +++ b/src/assets/js/main.js @@ -35,7 +35,7 @@ async function readResponse(response) { console.log(`Done: ${JSON.stringify(chunk.done)}`); console.log(`Value: ${new TextDecoder().decode(chunk.value)}`); if (chunk.value) { - const text = decoder.decode(chunk.value, { stream: true }); + const text = decoder.decode(chunk.value); finishedResponse += text; } if (chunk.done) {