feat: add zai/glm-4.6v image understanding support (#10267)

Fixes #10265. Thanks @liuy.
This commit is contained in:
Liu Yuan
2026-02-10 10:38:09 +08:00
committed by GitHub
parent d3c71875e4
commit 33ee8bbf1d
7 changed files with 51 additions and 10 deletions

View File

@@ -32,5 +32,22 @@ export const DEFAULT_AUDIO_MODELS: Record<string, string> = {
openai: "gpt-4o-mini-transcribe",
deepgram: "nova-3",
};
export const AUTO_AUDIO_KEY_PROVIDERS = ["openai", "groq", "deepgram", "google"] as const;
export const AUTO_IMAGE_KEY_PROVIDERS = [
"openai",
"anthropic",
"google",
"minimax",
"zai",
] as const;
export const AUTO_VIDEO_KEY_PROVIDERS = ["google"] as const;
export const DEFAULT_IMAGE_MODELS: Record<string, string> = {
openai: "gpt-5-mini",
anthropic: "claude-opus-4-6",
google: "gemini-3-flash-preview",
minimax: "MiniMax-VL-01",
zai: "glm-4.6v",
};
export const CLI_OUTPUT_MAX_BUFFER = 5 * MB;
export const DEFAULT_MEDIA_CONCURRENCY = 2;