Getting "undefinedAccept" when accepting in-file changes

When I take in a change from the chat into the code I am I don’t get a keyboard shortcut to apply the change. It just says undefinedAccept. I tried looking in the keyboard shortcut settings for an apply change action but I can only find the one which is related to inline edits (TAB). How do I fix this?

Also, is there a keyboard shortcut to apply a suggested change from within the chat (the action that happens before the error mentioned above)?

Anyone have an idea what is causing this?

I had this issue too. It pulls the keyboard shortcut from editor.action.inlineDiffs.acceptAll, so you can add this binding to your user keybindings.json

  {
    "key": "cmd+enter",
    "command": "editor.action.inlineDiffs.acceptAll",
    "when": "editorTextFocus && (arbitrary function)"
  }

I’m also getting this issue