Crash on reply with cmd+z (macOS app)

macOS version: 14.5
ChatGPT app version: 1.2024.179 (1720463250)

To reproduce:

  1. Send any message
  2. Wait for ChatGPT to start replying
  3. Press cmd+z
  4. The app should crash