Skip to content

Commit

Permalink
chore(internal): streaming refactors (#1261)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Jan 13, 2025
1 parent 14784f9 commit dd4af93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/streaming.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ export class Stream<Item> implements AsyncIterable<Item> {
if (sse.data.startsWith('[DONE]')) {
done = true;
continue;
}

if (sse.event === null) {
} else {
let data;

try {
Expand Down

0 comments on commit dd4af93

Please sign in to comment.