From f91c6dbb2be1d41dfb9bcc36a65722923a33cc84 Mon Sep 17 00:00:00 2001 From: "hash-worker[bot]" <180894564+hash-worker[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 21:11:01 +0000 Subject: [PATCH] Update LLM provider SDK npm packages --- apps/hash-ai-worker-ts/package.json | 4 ++-- yarn.lock | 29 ++++++++++++++++++++++------- 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/apps/hash-ai-worker-ts/package.json b/apps/hash-ai-worker-ts/package.json index 43c3a3971bb..688faf611fa 100644 --- a/apps/hash-ai-worker-ts/package.json +++ b/apps/hash-ai-worker-ts/package.json @@ -41,8 +41,8 @@ "test:unit": "vitest --run --exclude \"**/*.ai.test.ts\"" }, "dependencies": { - "@anthropic-ai/bedrock-sdk": "0.11.2", - "@anthropic-ai/sdk": "0.32.1", + "@anthropic-ai/bedrock-sdk": "0.12.0", + "@anthropic-ai/sdk": "0.33.1", "@apps/hash-graph": "0.0.0-private", "@blockprotocol/graph": "0.4.0-canary.0", "@blockprotocol/type-system": "0.1.2-canary.0", diff --git a/yarn.lock b/yarn.lock index fb17ac82b6f..3e6da8ccabf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -25,9 +25,9 @@ __metadata: languageName: node linkType: hard -"@anthropic-ai/bedrock-sdk@npm:0.11.2": - version: 0.11.2 - resolution: "@anthropic-ai/bedrock-sdk@npm:0.11.2" +"@anthropic-ai/bedrock-sdk@npm:0.12.0": + version: 0.12.0 + resolution: "@anthropic-ai/bedrock-sdk@npm:0.12.0" dependencies: "@anthropic-ai/sdk": "npm:^0" "@aws-crypto/sha256-js": "npm:^4.0.0" @@ -40,11 +40,26 @@ __metadata: "@smithy/smithy-client": "npm:^2.1.9" "@smithy/types": "npm:^2.3.4" "@smithy/util-base64": "npm:^2.0.0" - checksum: 10c0/08534d8bc3a0887150d1e244e9f853d53e82b1b3fef871dc496b2095e71760373c6f0e54fd915db0d73913dd37ee2fc06206c6ac7a0b39de7628e21d47834a22 + checksum: 10c0/9fd1f7a2d79163a620c26692fb3ee89d27846eb4d9bfc12aafff6d6e04164709a9152ab61a564e327af970788c96517d5af793966b089ce8c2d1b496196a5f97 + languageName: node + linkType: hard + +"@anthropic-ai/sdk@npm:0.33.1": + version: 0.33.1 + resolution: "@anthropic-ai/sdk@npm:0.33.1" + dependencies: + "@types/node": "npm:^18.11.18" + "@types/node-fetch": "npm:^2.6.4" + abort-controller: "npm:^3.0.0" + agentkeepalive: "npm:^4.2.1" + form-data-encoder: "npm:1.7.2" + formdata-node: "npm:^4.3.2" + node-fetch: "npm:^2.6.7" + checksum: 10c0/8f40282d2274f61269f783ac89d4dc8b48e881c37bbb244c664801824a8f672a9e97b367be469f93574d92af6cad75753be13f71133a7a818bd1d4af11fe299c languageName: node linkType: hard -"@anthropic-ai/sdk@npm:0.32.1, @anthropic-ai/sdk@npm:^0": +"@anthropic-ai/sdk@npm:^0": version: 0.32.1 resolution: "@anthropic-ai/sdk@npm:0.32.1" dependencies: @@ -270,8 +285,8 @@ __metadata: version: 0.0.0-use.local resolution: "@apps/hash-ai-worker-ts@workspace:apps/hash-ai-worker-ts" dependencies: - "@anthropic-ai/bedrock-sdk": "npm:0.11.2" - "@anthropic-ai/sdk": "npm:0.32.1" + "@anthropic-ai/bedrock-sdk": "npm:0.12.0" + "@anthropic-ai/sdk": "npm:0.33.1" "@apps/hash-graph": "npm:0.0.0-private" "@blockprotocol/graph": "npm:0.4.0-canary.0" "@blockprotocol/type-system": "npm:0.1.2-canary.0"