feature: support glm-4v

This commit is contained in:
Dogtiti
2024-12-28 23:29:39 +08:00
parent 5f96804f3b
commit 8a22c9d6db
2 changed files with 9 additions and 3 deletions

View File

@@ -305,6 +305,9 @@ 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/];