add claude image-support

This commit is contained in:
pablodanswer 2024-09-11 13:31:27 -07:00
parent eab55bdd85
commit 2c971cf774

View File

@ -73,6 +73,10 @@ const MODELS_SUPPORTING_IMAGES = [
["azure", "gpt-4-vision-preview"],
["azure", "gpt-4-turbo"],
["azure", "gpt-4-1106-vision-preview"],
["anthropic", "claude-3-5-sonnet-20240620"],
["anthropic", "claude-3-opus-20240229"],
["anthropic", "claude-3-sonnet-20240229"],
["anthropic", "claude-3-haiku-20240307"],
];
export function checkLLMSupportsImageInput(provider: string, model: string) {