Models: add Z.AI coding endpoint and GLM vision detection

This commit is contained in:
Robin Fröhlich
2026-06-02 13:59:17 +02:00
committed by GitHub
parent 934bca9e48
commit 3c6ae3713e
3 changed files with 21 additions and 3 deletions

View File

@@ -34,6 +34,8 @@ _VISION_MODEL_KEYWORDS = (
# open / local
"vision", "llava", "bakllava", "moondream", "pixtral", "minicpm",
"internvl", "cogvlm", "qwen-vl", "qwen2-vl", "qwen3-vl", "qwen3vl",
# zhipu / glm (glm-4.5v, glm-4.6v, glm-5v-turbo, etc.)
"glm-4.5v", "glm-4.6v", "glm-5v",
)
# Catches the "*-VL-*" / "*VL*" family not covered by a literal keyword above
# (e.g. Qwen2.5-VL and various tags): a standalone "vl" token, plus "vlm".