Skip to content

Parse more forms of apply_patch #4201

Closed

Description

@iamjackharper

What version of the VS Code extension are you using?

0.4.14

Which IDE are you using?

VS Code

What platform is your computer?

MacOS Sequoia 15.6.1 | Darwin 24.6.0 arm64 arm

What steps can reproduce the bug?

Select gpt-5-codex under model selection and ask for any change in the code

What is the expected behavior?

It should behave like gpt-5 and edit the files in the chat so I can see and undo the changes.

What do you see instead?

It only uses shell commands like
zsh -lc ls to list files
zsh -lc 'cat filename' to read files
zsh -lc 'apply_patch <<'"'"'PATCH'"'"'
*** Begin Patch
*** Update File: filename

Additional information

I'm still using the extension with gpt-5 model instead of gpt-5-codex because of this behavior.
Is this a bug or it's supposed to work like that?

Activity

  1. added
    extension
    on Sep 25, 2025
  2. changed the title [-]VSC extensions uses shell commands instead of tools when using gpt-5-codex[/-] [+]VSC extension uses shell commands instead of tools when using gpt-5-codex[/+] on Sep 25, 2025
  3. added
    bug
    on Sep 25, 2025
  4. ppamment commented on Sep 25, 2025

    @ppamment

    This is happening to me also VSCode Insiders, WSL2 backend

  5. ericboakye commented on Sep 27, 2025

    @ericboakye

    Happening to me as well on cursor

  6. BumpyClock commented on Sep 30, 2025

    @BumpyClock

    It happens in Windows, WSL, VS Code with WSL2 backend, and VSCode running in Windows. It slows codex down to a crawl and patches are also super inconsistent.

  7. changed the title [-]VSC extension uses shell commands instead of tools when using gpt-5-codex[/-] [+]Recognize more forms of apply_patch[/+] on Oct 8, 2025
  8. changed the title [-]Recognize more forms of apply_patch[/-] [+]Parse more forms of apply_patch[/+] on Oct 8, 2025
  9. self-assigned this
    on Oct 8, 2025
  10. added a commit that references this issue on Oct 20, 2025
    0e8d937
  11. added a commit that references this issue on Oct 24, 2025
    bff8296
  12. added a commit that references this issue on Nov 10, 2025
    0c839d5
  13. added a commit that references this issue on Nov 14, 2025
    164937d
  14. added a commit that references this issue on Dec 2, 2025
    49d490a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugextension

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions