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