Skip to content

Commit c0062ff

Browse files
authored
Merge pull request ChatGPTNextWeb#5998 from dupl/main
Use regular expressions to make the code more concise.
2 parents f8b10ad + 39e593d commit c0062ff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/constant.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,7 @@ export const VISION_MODEL_REGEXES = [
305305
/qwen2-vl/,
306306
/gpt-4-turbo(?!.*preview)/, // Matches "gpt-4-turbo" but not "gpt-4-turbo-preview"
307307
/^dall-e-3$/, // Matches exactly "dall-e-3"
308-
/glm-4v-plus/,
309308
/glm-4v/,
310-
/glm-4v-flash/,
311309
];
312310

313311
export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/];

0 commit comments

Comments
 (0)