Skip to content

Gate image attachments per Codex model; Spark is text-only #1167

Closed

Description

@currentbits

Parent: #1162. Complements #176 (native codex exec -i).

Live models_cache input_modalities:

  • gpt-6-astra / 5.6-sol / terra / luna / 5.5: ['text', 'image']
  • gpt-5.3-codex-spark: ['text'] only

The composer still offers image attach on every Codex model. Spark will either ignore the file or get a prompt-text path it cannot see.

Add a per-model capability (e.g. ModelInfo.inputModalities or supportsImages) from the snapshot, hide the image picker on text-only models, and keep folder/file attach if the CLI still takes path text.

Do not invent image support for Spark. Pair with #176 so image models use -i instead of prompt-text paths.

Activity

  1. added
    plan:todo
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Sep 9, 2026
  2. currentbits commented on Sep 9, 2026

    @currentbits
    OwnerAuthor

    Shipped on this worktree. ModelInfo.supportsImages is snapshotted from live Codex cache 0.153.4: Spark false (input_modalities [text]); Astra/Sol/Terra/Luna/5.5 true ([text,image]). Composer hides the paperclip on text-only models and drops image paste/drop/incoming chips; file drop still works. gpt-5.4-mini left unset (not in the live list; Cursor ids unrelated).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions