Skip to content

Commit

Permalink
deps: update @anthropic-ai/sdk to 0.27.3 from 0.25.2 (langchain-ai#6796)
Browse files Browse the repository at this point in the history
Co-authored-by: jacoblee93 <[email protected]>
  • Loading branch information
2 people authored and FilipZmijewski committed Sep 27, 2024
1 parent 6ca4cd7 commit 4786f0e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion libs/langchain-anthropic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"author": "LangChain",
"license": "MIT",
"dependencies": {
"@anthropic-ai/sdk": "^0.25.2",
"@anthropic-ai/sdk": "^0.27.3",
"fast-xml-parser": "^4.4.1",
"zod": "^3.22.4",
"zod-to-json-schema": "^3.22.4"
Expand Down
2 changes: 2 additions & 0 deletions libs/langchain-anthropic/src/chat_models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,7 @@ export class ChatAnthropicMessages<
if (!this.streamingClient) {
const options_ = this.apiUrl ? { baseURL: this.apiUrl } : undefined;
this.streamingClient = this.createClient({
dangerouslyAllowBrowser: true,
...this.clientOptions,
...options_,
apiKey: this.apiKey,
Expand Down Expand Up @@ -950,6 +951,7 @@ export class ChatAnthropicMessages<
if (!this.batchClient) {
const options = this.apiUrl ? { baseURL: this.apiUrl } : undefined;
this.batchClient = this.createClient({
dangerouslyAllowBrowser: true,
...this.clientOptions,
...options,
apiKey: this.apiKey,
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ __metadata:
languageName: node
linkType: hard

"@anthropic-ai/sdk@npm:^0.25.2":
version: 0.25.2
resolution: "@anthropic-ai/sdk@npm:0.25.2"
"@anthropic-ai/sdk@npm:^0.27.3":
version: 0.27.3
resolution: "@anthropic-ai/sdk@npm:0.27.3"
dependencies:
"@types/node": ^18.11.18
"@types/node-fetch": ^2.6.4
Expand All @@ -237,7 +237,7 @@ __metadata:
form-data-encoder: 1.7.2
formdata-node: ^4.3.2
node-fetch: ^2.6.7
checksum: b38f6a43f6f678e49f1b53226cc55654c23cf0fd1902cf3fcf98c0ae78f4c229518964f4cb31bc39da41925c806e7f4cc7ec14c511d387f07db3136b111bc744
checksum: 8000fc5a4e545057d8711f978a0de59c9a174398a81f700c9d279213790aaa4b2c100f96f2ef79447b8f1f3a04b8f094d60db66a06df8df96b31a3240d69cb5a
languageName: node
linkType: hard

Expand Down Expand Up @@ -11127,7 +11127,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@langchain/anthropic@workspace:libs/langchain-anthropic"
dependencies:
"@anthropic-ai/sdk": ^0.25.2
"@anthropic-ai/sdk": ^0.27.3
"@anthropic-ai/vertex-sdk": ^0.4.1
"@jest/globals": ^29.5.0
"@langchain/core": "workspace:*"
Expand Down

0 comments on commit 4786f0e

Please sign in to comment.