"No active editor to apply edits to" error when Agent try to edit a file #7683
Replies: 3 comments
-
Appreciate you starting a discussion, @alex-piccione! I set up an agent with Gemini 2.0 Flash for
![]() |
Beta Was this translation helpful? Give feedback.
-
Hi @TyDunn , I think I find out when it happens. Steps to reproduce:
OS: Windows x64 |
Beta Was this translation helpful? Give feedback.
-
This does look like a bug. Moving to a GitHub Issue. @uinstinct can help us figure this out! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use VS Code with Continue.dev extension.
When I ask the Agent to edit a file I get this error:
It appears as a notification message in VS Code, when I click "Accept".
The models I use:

The Gemini model works (for example when I use it in the Chat mode), so the key is ok.
Also, create a new file works (I "Accept" the request to "Create file").
Searching that string "No active editor to apply edits to" in Google does not give me any result apart 2 pages in chinese, like is very uncommon error.
Beta Was this translation helpful? Give feedback.
All reactions