Skip to content

After sending an image in a Codex CLI conversation, all subsequent requests fail with a JSON deserialization error, leaving the conversation completely stuck. #35331

Description

@GreatYao-Git

复现步骤

  1. 在对话中发送一张图片

  2. 继续发送文字消息

  3. 每次请求返回错误:Failed to deserialize the JSON body into the target type:
    messages[49]: unknown variant image_url, expected text
    at line 1 column 262721

  4. 只能放弃当前对话,新建对话

期望

  • 支持 image_url 消息类型,或
  • 提供恢复机制(跳过/清理坏消息)

环境

  • Codex CLI 桌面版 (Windows)
  • 消息类型 image_url 被反序列化器拒绝

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingsessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions