From 3246909a12e01fb05071b3facbdecc7eb42497a3 Mon Sep 17 00:00:00 2001 From: pablodanswer Date: Wed, 11 Sep 2024 13:43:03 -0700 Subject: [PATCH] add bedrock models --- web/src/lib/llm/utils.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/src/lib/llm/utils.ts b/web/src/lib/llm/utils.ts index 5697d8b9131..8452bae0d6c 100644 --- a/web/src/lib/llm/utils.ts +++ b/web/src/lib/llm/utils.ts @@ -77,6 +77,10 @@ const MODELS_SUPPORTING_IMAGES = [ ["anthropic", "claude-3-opus-20240229"], ["anthropic", "claude-3-sonnet-20240229"], ["anthropic", "claude-3-haiku-20240307"], + ["bedrock", "anthropic.claude-3-opus-20240229-v1:0"], + ["bedrock", "anthropic.claude-3-sonnet-20240229-v1:0"], + ["bedrock", "anthropic.claude-3-haiku-20240307-v1:0"], + ["bedrock", "anthropic.claude-3-5-sonnet-20240620-v1:0"], ]; export function checkLLMSupportsImageInput(provider: string, model: string) {