                               if (line.trim() === '' || !line.startsWith('data:')) continue;

                                     if (line.includes('[DONE]')) {
                                         // console.log("Received DONE signal in message.");
                                         // Final render might happen below after loop finishes
                                         break; // Process next message or exit if this was last part
                                     }

                  