2
0

⬇️ Downgrade anthropic sdk to make it compatible with ai sdk

This commit is contained in:
Baptiste Arnaud
2024-03-15 08:50:07 +01:00
parent ff3807a265
commit 3f294c9093
2 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@
"typescript": "5.3.2" "typescript": "5.3.2"
}, },
"dependencies": { "dependencies": {
"@anthropic-ai/sdk": "^0.16.1", "@anthropic-ai/sdk": "0.15.0",
"ai": "3.0.12" "ai": "3.0.12"
} }
} }

8
pnpm-lock.yaml generated
View File

@ -1167,8 +1167,8 @@ importers:
packages/forge/blocks/anthropic: packages/forge/blocks/anthropic:
dependencies: dependencies:
'@anthropic-ai/sdk': '@anthropic-ai/sdk':
specifier: ^0.16.1 specifier: 0.15.0
version: 0.16.1 version: 0.15.0
ai: ai:
specifier: 3.0.12 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) 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/gen-mapping': 0.3.5
'@jridgewell/trace-mapping': 0.3.25 '@jridgewell/trace-mapping': 0.3.25
/@anthropic-ai/sdk@0.16.1: /@anthropic-ai/sdk@0.15.0:
resolution: {integrity: sha512-vHgvfWEyFy5ktqam56Nrhv8MVa7EJthsRYNi+1OrFFfyrj9tR2/aji1QbVbQjYU/pPhPFaYrdCEC/MLPFrmKwA==} resolution: {integrity: sha512-QMNEFcwGGB64oEIL+U9b+mxSbat5TCdNxvQVV0qCNGQvg/nlnbOmq2/x/0mKhuKD0n5bioL75oCkTbQaAgyYtw==}
dependencies: dependencies:
'@types/node': 18.11.18 '@types/node': 18.11.18
'@types/node-fetch': 2.6.11 '@types/node-fetch': 2.6.11