Compare commits

..

1 Commits

Author SHA1 Message Date
Xu Chenxi
a86a6a6fb8
Merge a87ec75ba6 into 0031544e14 2025-07-09 17:16:40 +08:00

View File

@ -479,20 +479,19 @@ export const VISION_MODEL_REGEXES = [
/vision/,
/gpt-4o/,
/gpt-4\.1/,
/claude.*[34]/,
/claude-3/,
/gemini-1\.5/,
/gemini-exp/,
/gemini-2\.[05]/,
/gemini-2\.0/,
/learnlm/,
/qwen-vl/,
/qwen2-vl/,
/gpt-4-turbo(?!.*preview)/,
/^dall-e-3$/,
/gpt-4-turbo(?!.*preview)/, // Matches "gpt-4-turbo" but not "gpt-4-turbo-preview"
/^dall-e-3$/, // Matches exactly "dall-e-3"
/glm-4v/,
/vl/i,
/o3/,
/o4-mini/,
/grok-4/i,
];
export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/];
@ -555,7 +554,6 @@ const googleModels = [
"gemini-2.0-pro-exp",
"gemini-2.0-pro-exp-02-05",
"gemini-2.5-pro-preview-06-05",
"gemini-2.5-pro"
];
const anthropicModels = [