add bedrock models (#2405)

This commit is contained in:
pablodanswer
2024-09-11 21:34:43 -07:00
committed by GitHub
parent 2654df49fd
commit d4d37c9cdd

View File

@@ -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) {