From 3f294c9093473aadc97d589e645c84e20faa7037 Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Fri, 15 Mar 2024 08:50:07 +0100 Subject: [PATCH] :arrow_down: Downgrade anthropic sdk to make it compatible with ai sdk --- packages/forge/blocks/anthropic/package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/forge/blocks/anthropic/package.json b/packages/forge/blocks/anthropic/package.json index 0af5c7ff505..30374223a83 100644 --- a/packages/forge/blocks/anthropic/package.json +++ b/packages/forge/blocks/anthropic/package.json @@ -14,7 +14,7 @@ "typescript": "5.3.2" }, "dependencies": { - "@anthropic-ai/sdk": "^0.16.1", + "@anthropic-ai/sdk": "0.15.0", "ai": "3.0.12" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1fec9c3225f..6b158635079 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1167,8 +1167,8 @@ importers: packages/forge/blocks/anthropic: dependencies: '@anthropic-ai/sdk': - specifier: ^0.16.1 - version: 0.16.1 + specifier: 0.15.0 + version: 0.15.0 ai: specifier: 3.0.12 version: 3.0.12(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4) @@ -1782,8 +1782,8 @@ packages: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - /@anthropic-ai/sdk@0.16.1: - resolution: {integrity: sha512-vHgvfWEyFy5ktqam56Nrhv8MVa7EJthsRYNi+1OrFFfyrj9tR2/aji1QbVbQjYU/pPhPFaYrdCEC/MLPFrmKwA==} + /@anthropic-ai/sdk@0.15.0: + resolution: {integrity: sha512-QMNEFcwGGB64oEIL+U9b+mxSbat5TCdNxvQVV0qCNGQvg/nlnbOmq2/x/0mKhuKD0n5bioL75oCkTbQaAgyYtw==} dependencies: '@types/node': 18.11.18 '@types/node-fetch': 2.6.11