mirror of
https://github.com/openai/codex.git
synced 2026-04-28 02:11:08 +03:00
sometimes the model forgets to actually invoke `apply_patch` and puts a
patch as the script body. trying to execute this as bash sometimes
creates files named `,` or `{` or does other unknown things, so catch
this situation and return an error to the model.