Spaces:
Sleeping
Sleeping
debugging
Browse files
server.js
CHANGED
|
@@ -327,6 +327,7 @@ app.post("/api/ask-ai", async (req, res) => {
|
|
| 327 |
}
|
| 328 |
completeResponse += newChunk;
|
| 329 |
res.write(newChunk);
|
|
|
|
| 330 |
if (newChunk.includes("</html>")) {
|
| 331 |
break;
|
| 332 |
}
|
|
|
|
| 327 |
}
|
| 328 |
completeResponse += newChunk;
|
| 329 |
res.write(newChunk);
|
| 330 |
+
console.log( newChunk );
|
| 331 |
if (newChunk.includes("</html>")) {
|
| 332 |
break;
|
| 333 |
}
|