After sending an image in a Codex CLI conversation, all subsequent requests fail with a JSON deserialization error, leaving the conversation completely stuck.
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start by tracing the Codex CLI conversation request and JSON deserialization path after an image is sent, focusing on handling of the image_url message type. Reproduce the Windows sequence in the issue, then verify that subsequent text requests either deserialize successfully or that the conversation can recover without starting over.
Written by the indexing model from the issue text.
Description
复现步骤
-
在对话中发送一张图片
-
继续发送文字消息
-
每次请求返回错误:Failed to deserialize the JSON body into the target type:
messages[49]: unknown variant image_url, expected text
at line 1 column 262721 -
只能放弃当前对话,新建对话
期望
- 支持 image_url 消息类型,或
- 提供恢复机制(跳过/清理坏消息)
环境
- Codex CLI 桌面版 (Windows)
- 消息类型
image_url被反序列化器拒绝
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·