matthoffner commited on
Commit
e86b927
·
1 Parent(s): 9ad36a7

Update src/pages/api/llm.js

Browse files
Files changed (1) hide show
  1. 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
  }