Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotdauber committed Jan 7, 2025
1 parent fe14dff commit 9f76d34
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/core/src/chat/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ export async function* submitChat(
if (!event) continue;
if (event.data === '[DONE]') continue;

// todo: deal with this better
// need a standard format and try/catch
let eventJson: any;
try {
eventJson = JSON.parse(event.data);
Expand Down

0 comments on commit 9f76d34

Please sign in to comment.