Compare commits

..

4 Commits

Author SHA1 Message Date
GH Action - Upstream Sync
9ce509df9a Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2025-07-09 01:02:44 +00:00
GH Action - Upstream Sync
2c6cddaa50 Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2025-07-01 01:08:31 +00:00
GH Action - Upstream Sync
76a33f271c Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2025-06-20 01:00:40 +00:00
dupl
bb9933c7c6
update the lastest Gemini models 2025-06-19 18:12:49 +08:00

View File

@ -479,20 +479,20 @@ 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/,
/gemini-2\.5/,
/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/];
@ -544,7 +544,6 @@ const googleModels = [
"gemini-1.5-flash",
"gemini-1.5-flash-8b",
"gemini-1.5-flash-002",
"learnlm-1.5-pro-experimental",
"gemini-exp-1206",
"gemini-2.0-flash",
"gemini-2.0-flash-exp",
@ -554,7 +553,10 @@ const googleModels = [
"gemini-2.0-flash-thinking-exp-01-21",
"gemini-2.0-pro-exp",
"gemini-2.0-pro-exp-02-05",
"gemini-2.5-pro-preview-06-05",
"gemini-2.5-pro",
"gemini-2.5-flash",
"gemini-2.5-flash-lite-preview-06-17",
"learnlm-2.0-flash-experimental",
];
const anthropicModels = [