Skip to content

Commit

Permalink
Merge pull request #5998 from dupl/main
Browse files Browse the repository at this point in the history
Use regular expressions to make the code more concise.
  • Loading branch information
Dogtiti authored Dec 28, 2024
2 parents f8b10ad + 39e593d commit c0062ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/];
Expand Down

0 comments on commit c0062ff

Please sign in to comment.