applyPatch function doesn't handle creating directories properly

Resolved 💬 1 comment Opened Apr 20, 2025 by ramarivera Closed Aug 7, 2025

What version of Codex is running?

│ ● OpenAI Codex (research preview) v0.1.2504172351 │

Which model were you using?

04 mini

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What steps can reproduce the bug?

Just try to direct the model to create a file in a folder that doesn't yet exist and it will error

What is the expected behavior?

applyPatch handles directory creation if required

What do you see instead?

Console errors

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗