404 on `--image` with codex-mini-latest
Resolved 💬 1 comment Opened May 22, 2025 by yaroslavyaroslav Closed Aug 7, 2025
What version of Codex is running?
0.1.2505172129
Which model were you using?
codex-mini-latest
What platform is your computer?
Darwin 24.5.0 arm64 arm
What steps can reproduce the bug?
codex --full-stdout --approval-mode full-auto --model codex-mini-latest -i '/path/Screenshot 2025-05-22 at 16.19.01.png' -i '/path/Screenshot 2025-05-22 at 18.28.37.png'
What is the expected behavior?
When I try to add images to my call I get this error message
codex --full-stdout --approval-mode full-auto --notification -w /private/var/tmp/ -w /private/var/folders/ -w ~/Development/Swift/some --model codex-mini-latest -i '/path/Screenshot 2025-05-22 at 16.19.01.png' -i '/path/Screenshot 2025-05-22 at 18.28.37.png'
╭──────────────────────────────────────────────────────────────╮
│ ● OpenAI Codex (research preview) v0.1.2505172129 │
╰──────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────╮
│ localhost session: 15bd4205c6994865afaf6db12dbbcc79 │
│ ↳ workdir: ~/Development/Swift/project │
│ ↳ model: codex-mini-latest │
│ ↳ provider: o4-mini │
│ ↳ approval: full-auto │
│ ↳ image: Screenshot 2025-05-22 at 16.19.01.png │
│ ↳ image: Screenshot 2025-05-22 at 18.28.37.png │
╰──────────────────────────────────────────────────────────────╯
user
<Image> <Image>
system
⚠️ OpenAI rejected the request (request ID: req_a11abe57063e5eeb92cb3b37fa9210ea). Error details: Status: 404, Code: unknown, Type: invalid_request_error, Message:
404 This model is only supported in v1/responses and not in v1/chat/completions.. Please verify your settings and try again.
system
⚠️ OpenAI rejected the request (request ID: req_9d4cbff6b5e7c719259f354773960afb). Error details: Status: 404, Code: unknown, Type: invalid_request_error, Message:
404 This model is only supported in v1/responses and not in v1/chat/completions.. Please verify your settings and try again.
What do you see instead?
To let images be added to the context
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗