Add "vl" to visionKeywords

This commit is contained in:
LovelyGuYiMeng 2024-10-26 16:16:30 +08:00 committed by GitHub
parent 4f49626303
commit 648f11d72d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -255,6 +255,7 @@ export function isVisionModel(model: string) {
// Note: This is a better way using the TypeScript feature instead of `&&` or `||` (ts v5.5.0-dev.20240314 I've been using) // Note: This is a better way using the TypeScript feature instead of `&&` or `||` (ts v5.5.0-dev.20240314 I've been using)
const visionKeywords = [ const visionKeywords = [
"vl",
"vision", "vision",
"claude-3", "claude-3",
"gemini-1.5-pro", "gemini-1.5-pro",