File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 35
35
"author" : " LangChain" ,
36
36
"license" : " MIT" ,
37
37
"dependencies" : {
38
- "@anthropic-ai/sdk" : " ^0.25.2 " ,
38
+ "@anthropic-ai/sdk" : " ^0.27.3 " ,
39
39
"fast-xml-parser" : " ^4.4.1" ,
40
40
"zod" : " ^3.22.4" ,
41
41
"zod-to-json-schema" : " ^3.22.4"
Original file line number Diff line number Diff line change @@ -923,6 +923,7 @@ export class ChatAnthropicMessages<
923
923
if ( ! this . streamingClient ) {
924
924
const options_ = this . apiUrl ? { baseURL : this . apiUrl } : undefined ;
925
925
this . streamingClient = this . createClient ( {
926
+ dangerouslyAllowBrowser : true ,
926
927
...this . clientOptions ,
927
928
...options_ ,
928
929
apiKey : this . apiKey ,
@@ -950,6 +951,7 @@ export class ChatAnthropicMessages<
950
951
if ( ! this . batchClient ) {
951
952
const options = this . apiUrl ? { baseURL : this . apiUrl } : undefined ;
952
953
this . batchClient = this . createClient ( {
954
+ dangerouslyAllowBrowser : true ,
953
955
...this . clientOptions ,
954
956
...options ,
955
957
apiKey : this . apiKey ,
Original file line number Diff line number Diff line change @@ -226,9 +226,9 @@ __metadata:
226
226
languageName: node
227
227
linkType: hard
228
228
229
- "@anthropic-ai/sdk@npm:^0.25.2 ":
230
- version: 0.25.2
231
- resolution: "@anthropic-ai/sdk@npm:0.25.2 "
229
+ "@anthropic-ai/sdk@npm:^0.27.3 ":
230
+ version: 0.27.3
231
+ resolution: "@anthropic-ai/sdk@npm:0.27.3 "
232
232
dependencies:
233
233
"@types/node": ^18.11.18
234
234
"@types/node-fetch": ^2.6.4
@@ -237,7 +237,7 @@ __metadata:
237
237
form-data-encoder: 1.7.2
238
238
formdata-node: ^4.3.2
239
239
node-fetch: ^2.6.7
240
- checksum: b38f6a43f6f678e49f1b53226cc55654c23cf0fd1902cf3fcf98c0ae78f4c229518964f4cb31bc39da41925c806e7f4cc7ec14c511d387f07db3136b111bc744
240
+ checksum: 8000fc5a4e545057d8711f978a0de59c9a174398a81f700c9d279213790aaa4b2c100f96f2ef79447b8f1f3a04b8f094d60db66a06df8df96b31a3240d69cb5a
241
241
languageName: node
242
242
linkType: hard
243
243
@@ -11116,7 +11116,7 @@ __metadata:
11116
11116
version: 0.0.0-use.local
11117
11117
resolution: "@langchain/anthropic@workspace:libs/langchain-anthropic"
11118
11118
dependencies:
11119
- "@anthropic-ai/sdk": ^0.25.2
11119
+ "@anthropic-ai/sdk": ^0.27.3
11120
11120
"@anthropic-ai/vertex-sdk": ^0.4.1
11121
11121
"@jest/globals": ^29.5.0
11122
11122
"@langchain/core": "workspace:*"
You can’t perform that action at this time.
0 commit comments