Receive error anytime Codex tries to suggest a shell tool call: `Cannot read properties of undefined (reading 'length')`
Resolved 💬 5 comments Opened May 12, 2025 by GitMurf Closed Aug 7, 2025
What version of Codex is running?
0.1.2504301751
Which model were you using?
gpt-4.1, o4-mini and gpt-4o
What platform is your computer?
Windows 11: wsl2 Arch
What steps can reproduce the bug?
I use any model like gpt-4.1, o4-mini or gpt-4o and simply provide a prompt that will suggest a shell tool call like the following:
do I have a license file in my codebase root?
I get the following error:
What is the expected behavior?
_No response_
What do you see instead?
_No response_
Additional information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗