Skip to content

Model does not support image input Codex

Quick fix

Add an image-input modality declaration for GLM-5.3-Flash to avoid inheriting a model configuration containing only ["text"].

Error output
Codex 直接拦截图片输入:「此模型不支持图片输入」。
English translation

Codex directly blocks image input: “This model does not support image input.”

The Zhipu GLM preset modelCatalog does not include GLM-5.3-Flash. Existing seed models explicitly declare `inputModalities: ["text"]`. After changing the model to GLM-5.3-Flash, the hidden field inherits this text-only declaration and saves it to the provider's modelCatalog.

When generating the Codex catalog, an explicit text-only declaration takes precedence over fail-open behavior. Therefore, `glm-5.3-flash` is marked as not supporting image input. Without this incorrect explicit declaration, unknown models fail open to `["text", "image"]`.

  1. Add `glm-5.3-flash` to the Codex preset for Zhipu GLM and explicitly set its input modalities to `["text", "image"]`; the issue has a fix branch prepared with this change and regression tests.

    src/config/codexProviderPresets.ts
    model: "glm-5.3-flash"
    inputModalities: ["text", "image"]
ToolCodex
Version受影响:3.20.4
PlatformsmacOS

(No FAQ yet)

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.