Skip to content

Commit

Permalink
feat: remove unused comment
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangsx committed May 9, 2023
1 parent 907eb97 commit 109d6c0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions model/forefront/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,6 @@ export class Forefront extends Chat {
cb(null, '');
return;
}
// const data = parseJSON(str, {}) as ChatCompletionChunk;
// if (!data.choices) {
// cb(null, '');
// return;
// }
// const [{delta: {content}}] = data.choices;
// cb(null, content);
cb(null, str);
})).on('data', (data) => {
if (!data) {
Expand Down

0 comments on commit 109d6c0

Please sign in to comment.