From e5266ddda11dd5357709aff63079a23d174ec88c Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Tue, 22 Oct 2024 18:24:34 -0400 Subject: [PATCH] Add fallback claude 3.5 sonnet v1 models for bedrock and vertex --- src/shared/api.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/shared/api.ts b/src/shared/api.ts index cdb5b7a..a3b8723 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -99,6 +99,14 @@ export const bedrockModels = { inputPrice: 3.0, outputPrice: 15.0, }, + "anthropic.claude-3-5-sonnet-20240620-v1:0": { + maxTokens: 8192, + contextWindow: 200_000, + supportsImages: true, + supportsPromptCache: false, + inputPrice: 3.0, + outputPrice: 15.0, + }, "anthropic.claude-3-opus-20240229-v1:0": { maxTokens: 4096, contextWindow: 200_000, @@ -146,6 +154,14 @@ export const vertexModels = { inputPrice: 3.0, outputPrice: 15.0, }, + "claude-3-5-sonnet@20240620": { + maxTokens: 8192, + contextWindow: 200_000, + supportsImages: true, + supportsPromptCache: false, + inputPrice: 3.0, + outputPrice: 15.0, + }, "claude-3-opus@20240229": { maxTokens: 4096, contextWindow: 200_000,