From 39e593da48cf63df840e9133e9ee4ad5f8dbc986 Mon Sep 17 00:00:00 2001 From: dupl Date: Sat, 28 Dec 2024 23:49:28 +0800 Subject: [PATCH] Use regular expressions to make the code more concise. --- app/constant.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/constant.ts b/app/constant.ts index 90b75251d7f..dcb68ce43bd 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -305,9 +305,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" - /glm-4v-plus/, /glm-4v/, - /glm-4v-flash/, ]; export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/];