Spaces:
Paused
Paused
Commit
·
e86b927
1
Parent(s):
9ad36a7
Update src/pages/api/llm.js
Browse files- src/pages/api/llm.js +1 -0
src/pages/api/llm.js
CHANGED
|
@@ -28,6 +28,7 @@ const handler = async (req, res) => {
|
|
| 28 |
let text = decoder.decode(chunk);
|
| 29 |
|
| 30 |
if (text !== 'null') {
|
|
|
|
| 31 |
res.write(text);
|
| 32 |
}
|
| 33 |
}
|
|
|
|
| 28 |
let text = decoder.decode(chunk);
|
| 29 |
|
| 30 |
if (text !== 'null') {
|
| 31 |
+
data += text;
|
| 32 |
res.write(text);
|
| 33 |
}
|
| 34 |
}
|