Apply doesn’t work with Gemini 2.5 Flash

Describe the Bug

Apply doesn’t work. I’m using Gemini 2.5 with my own API key and the Ask chat mode. It used to work before, but now it shows ‘Cancelled’ when I try to run it.

Steps to Reproduce

Make any request, press ‘Apply’ in chat

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4 (user setup)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T17:09:01.383Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor