yxmiler commited on
Commit
32c26eb
·
verified ·
1 Parent(s): 98068ce

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +0 -1
index.js CHANGED
@@ -607,7 +607,6 @@ async function handleResponse(response, model, res, isStream) {
607
  if (!data.trim()) continue;
608
  if (data === "[DONE]") continue;
609
  const linejosn = JSON.parse(data);
610
- Logger.error(`当前数据: ${JSON.stringify(linejosn, null, 2)}`, 'Server');
611
  if (linejosn?.error) {
612
  Logger.error(JSON.stringify(linejosn, null, 2), 'Server');
613
  stream.destroy();
 
607
  if (!data.trim()) continue;
608
  if (data === "[DONE]") continue;
609
  const linejosn = JSON.parse(data);
 
610
  if (linejosn?.error) {
611
  Logger.error(JSON.stringify(linejosn, null, 2), 'Server');
612
  stream.destroy();