Skip to content

Commit 628b55e

Browse files
committed
chore(internal): fix import
1 parent 57aefa7 commit 628b55e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/internal/decoders/jsonl.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { AnthropicError } from '../../error';
2-
import { readableStreamAsyncIterable } from '../../streaming';
2+
import { ReadableStreamToAsyncIterable } from '../stream-utils';
33
import { type Response } from '../../_shims/index';
44
import { LineDecoder, type Bytes } from './line';
55

@@ -36,6 +36,6 @@ export class JSONLDecoder<T> {
3636
throw new AnthropicError(`Attempted to iterate over a response with no body`);
3737
}
3838

39-
return new JSONLDecoder(readableStreamAsyncIterable<Bytes>(response.body), controller);
39+
return new JSONLDecoder(ReadableStreamToAsyncIterable<Bytes>(response.body), controller);
4040
}
4141
}

0 commit comments

Comments
 (0)