removing commented line

This commit is contained in:
Mic 2025-12-22 23:55:00 +01:00
parent 3c5b0aa02a
commit 3e7f67b698

View file

@ -110,7 +110,6 @@ self.onmessage = async function(event) {
.filter((line) => line.startsWith("data:"))
.map((line) => line.replace(/^data: /, "").trim()) // Remove the "data: " prefix
.filter((line) => line !== "" && line !== "[DONE]") // Remove empty lines and "[DONE]"
// .map((line) => JSON.parse(line)); // Parse the JSON string
.map((line) => {
try {
taLog.log("line: " + JSON.stringify(line));