Crashes with nonexistent image paths in prompt

Resolved 💬 2 comments Opened Apr 19, 2025 by MaxRobinsonTheGreat Closed Apr 19, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.1.2504172351

Which model were you using?

default

What platform is your computer?

ubuntu 20

What steps can reproduce the bug?

install codex on ubuntu 20
Enter as first prompt: doesnotexist.png
Crash. Discovered when trying to describe a file name in another directory.

What is the expected behavior?

It should not crash when I enter an image filepath that doesn't exist, so I can describe filenames.

What do you see instead?

<img width="856" alt="Image" src="https://github.com/user-attachments/assets/a35dd450-13a2-4d6a-a82d-fd8b8524cf25" />

Additional information

_No response_

View original on GitHub ↗

2 Comments

tibo-openai collaborator · 1 year ago

Looks like a bug! Would accept a PR with the fix.

tibo-openai collaborator · 1 year ago