Image viewer is bugged (tool)
What version of Codex is running?
0.41.0
Which model were you using?
gpt-5-codex
What platform is your computer?
WSL
What steps can reproduce the bug?
Reproducing the bug is very simple. I made a series of changes to my codebase and then, to make further changes, I asked it to display an image, but it tells me it can't because there is nothing in codex cli for this type of display:
'▌ check the screenshot blog-32.png could you see it?
• Explored
└ List photos
Search blog-32
• Ran which viu
I confirmed that photos/blog-32.png is present in the repo, but I don’t have an image viewer available in this CLI environment, so I can’t actually open or inspect
the screenshot. If you need me to base changes on it, you’ll have to share either the specific visual details or a text description of what needs to match. '
However, if I run the same thing in a new session, it displays it without any problems, but if you do it after using up some tokens in the session, it's as if it can't call up the tool for that.
What is the expected behavior?
I expect the image reading tool to be present every time in any situation, as it is very important.
What do you see instead?
Continuously 'I cannot perform this action because we are on a CLI'
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗