diff --git a/src/assets/js/main.js b/src/assets/js/main.js index 2625aba..e2976be 100644 --- a/src/assets/js/main.js +++ b/src/assets/js/main.js @@ -36,7 +36,9 @@ async function readResponse(response) { console.log(`Value: ${new TextDecoder().decode(chunk.value)}`); if (chunk.value) { const text = decoder.decode(chunk.value); + console.log(`Text: ${text}`); finishedResponse += text; + console.log(`(un)finishedResponse: ${finishedResponse}`); } if (chunk.done) { console.log(`Finished: ${finishedResponse}`);