Skip to content

Commit

Permalink
Use regular expressions to make the code more concise.
Browse files Browse the repository at this point in the history
  • Loading branch information
dupl committed Dec 28, 2024
1 parent f8b10ad commit 39e593d
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 39e593d

Please sign in to comment.