support new claude-4 llms

both sonnet & opus
This commit is contained in:
Ibrahim H. 2025-05-28 16:01:41 +01:00 committed by GitHub
parent b30297a483
commit 0e34f12a75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -469,6 +469,7 @@ export const VISION_MODEL_REGEXES = [
/gpt-4o/,
/gpt-4\.1/,
/claude-3/,
/claude-4/,
/gemini-1\.5/,
/gemini-exp/,
/gemini-2\.0/,
@ -568,6 +569,10 @@ const anthropicModels = [
"claude-3-5-sonnet-latest",
"claude-3-7-sonnet-20250219",
"claude-3-7-sonnet-latest",
"claude-sonnet-4-0",
"claude-sonnet-4-20250514,
"claude-opus-4-0",
"claude-opus-4-20250514",
];
const baiduModels = [