From eb2d9b9ea266353a552a03df43e0bbfaac0ee6fe Mon Sep 17 00:00:00 2001 From: Trevor Hudson Date: Mon, 24 Feb 2025 11:04:14 -0800 Subject: [PATCH] add bedrock --- package.json | 2 +- src/shared/api.ts | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5fc196bbe2..32e12aa25a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "claude-dev", "displayName": "Cline", "description": "Autonomous coding agent right in your IDE, capable of creating/editing files, running commands, using the browser, and more with your permission every step of the way.", - "version": "3.4.5", + "version": "3.4.6", "icon": "assets/icons/icon.png", "galleryBanner": { "color": "#617A91", diff --git a/src/shared/api.ts b/src/shared/api.ts index 180c171b9b..e80817c7e3 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -140,6 +140,15 @@ export const anthropicModels = { export type BedrockModelId = keyof typeof bedrockModels export const bedrockDefaultModelId: BedrockModelId = "anthropic.claude-3-5-sonnet-20241022-v2:0" export const bedrockModels = { + "anthropic.claude-3-7-sonnet-20250219-v1:0": { + maxTokens: 8192, + contextWindow: 200_000, + supportsImages: true, + supportsComputerUse: true, + supportsPromptCache: false, + inputPrice: 3.0, + outputPrice: 15.0, + }, "anthropic.claude-3-5-sonnet-20241022-v2:0": { maxTokens: 8192, contextWindow: 200_000,