diff --git a/app/constant.ts b/app/constant.ts index cba3dfadb..56bc47085 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -303,6 +303,7 @@ export const VISION_MODEL_REGEXES = [ /qwen2-vl/, /gpt-4-turbo(?!.*preview)/, // Matches "gpt-4-turbo" but not "gpt-4-turbo-preview" /^dall-e-3$/, // Matches exactly "dall-e-3" + /^o1/, // Matches o1 models ]; export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/];