Skip to content

Commit b1deda2

Browse files
authored
fix(anthropic): fix betas being passed to client when streaming (#9451)
1 parent 70320b7 commit b1deda2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changeset/fuzzy-towns-listen.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@langchain/anthropic": patch
3+
---
4+
5+
fix betas being passed to client when streaming

libs/providers/langchain-anthropic/src/chat_models.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,6 @@ export class ChatAnthropicMessages<
11811181
return await this.streamingClient.messages.create(
11821182
{
11831183
...rest,
1184-
betas,
11851184
...this.invocationKwargs,
11861185
stream: true,
11871186
} as AnthropicStreamingMessageCreateParams,

0 commit comments

Comments
 (0)