Skip to content

Modality: serve openai-codex image models once aimux's codex package supports them #1929

Open

Description

@zerob13

What are you trying to do? · 你想完成什么?

Generate and edit images with a signed-in ChatGPT/Codex account. The catalog declares gpt-image-2, gpt-image-2.5-flare, gpt-image-2.5-sunburst and the two -2026-09-08 snapshots under openai-codex with image.generate and image.edit. The previous product served them; after #1916 they are listed with the adapter reason.

What should Dim do? · 你希望 Dim 怎么做?

When arcships/aimux#526 lands:

  1. Add an openai-codex row in dim-modality-aimux bound to aimux's codex package in ChatGPT-account mode.

  2. Pass the managed lease's bearer and account headers the way that mode takes them.

    media::provider currently sends the credential as api_key, which create_provider("codex", …) refuses. That also depends on how Provider 构造与配置:迁移后遗留缺口 aimux#275 resolves constructing the subscription mode through create_provider; otherwise the row calls create_codex directly.

  3. Keep the managed recovery path: a 401 maps to the lease's recovery like a chat call.

  4. Do not auto-resubmit a failed image call.

Update Modality A.2 (openai-codex currently "has no row").

Additional context · 补充信息

Activity

  1. added
    enhancement
    on Nov 20, 2026
  2. added
    P2
    on Nov 27, 2026
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

    P2enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions