Skip to content

Commit 69899e2

Browse files
authored
chore: Run pnpm dedupe (#1996)
Running [pnpm dedupe](https://pnpm.io/cli/dedupe), this should help make dependabot prs a bit easier to work with as well.
1 parent 8d6d5b5 commit 69899e2

2 files changed

Lines changed: 151 additions & 1223 deletions

File tree

‎integrations/vercel-ai-sdk/src/adapter.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ export function toAIStream(
2626
callbacks?: AIStreamCallbacksAndOptions,
2727
): ReadableStream<Uint8Array> {
2828
const btStream =
29-
stream instanceof BraintrustStream ? stream : new BraintrustStream(stream);
29+
stream instanceof BraintrustStream
30+
? stream
31+
: new BraintrustStream(stream as ReadableStream<BraintrustStreamChunk>);
3032

3133
return btStream
3234
.toReadableStream()

0 commit comments

Comments
 (0)