From e4999266caab47b7d002a8a5d4940a9b239c06f4 Mon Sep 17 00:00:00 2001 From: hagen-danswer Date: Sun, 16 Jun 2024 11:38:30 -0400 Subject: [PATCH] added azure models to vision capable list (#1638) --- 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 28fffa8d4..c9c7a5b8c 100644 --- a/web/src/lib/llm/utils.ts +++ b/web/src/lib/llm/utils.ts @@ -32,6 +32,10 @@ const MODELS_SUPPORTING_IMAGES = [ ["openai", "gpt-4-vision-preview"], ["openai", "gpt-4-turbo"], ["openai", "gpt-4-1106-vision-preview"], + ["azure", "gpt-4o"], + ["azure", "gpt-4-vision-preview"], + ["azure", "gpt-4-turbo"], + ["azure", "gpt-4-1106-vision-preview"], ]; export function checkLLMSupportsImageInput(provider: string, model: string) {