mirror of
https://github.com/openai/codex.git
synced 2026-05-06 06:12:59 +03:00
Currently `apply_patch` will fail on Windows if the file contents happen to have a multi-byte character at the point where the `preview` function truncates. I've used the existing `take_bytes_at_char_boundary` helper and added a regression test (that fails without the fix). This is related to #4013 but doesn't fix it.
2.0 KiB
2.0 KiB