Edit_file failing with multiple models on Agent mode

Both on claude 3.7 and gemini 2.5 pro exp 03 25, I am encountering models failing to edit files when using Agent mode acts like Ask mode.

On claude 3.7 it shows with red that edit_file failed, gemini does not show anything but it does not edit files.

What is going on? I’m on 0.49.4 (but has been happening with 0.49.3 and before)

image

I am also seeing this with various models. What used to work does not anymore.

I’m also seeing this error. I believe it has happened before, and now it’s back. It was discussed here: Error - edit_file - #67 by Orpheus

1 Like

I found the issue on both the latest version and after downgrading to 0.47.

The error log shows a ConnectError with the message [aborted] Error, followed by additional failures:

[composer] Error in AI response: ConnectError: [aborted] Error
[composer] Failed to get complete AI response
[composer] Error in AI response: ConnectError: [canceled] This operation was aborted
Version: 0.49.4 (user setup)
VSCode Version: 1.96.2
Commit: ec408037b24566b11e6132c58bbe6ad27046eb90
Date: 2025-04-22T00:23:40.780Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Version: 0.48.9 (user setup)
VSCode Version: 1.96.2
Commit: 61e99179e4080fecf9d8b92c6e2e3e00fbfb53f0
Date: 2025-04-12
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Version: 0.47.9 (user setup)
VSCode Version: 1.96.2
Commit: b6fb41b5f36bda05cab7109606e7404a65d1ff30
Date: 2025-03-21
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Hi, please open your console (in the command palette, Developer: Toggle Developer Tools) and send us screenshots of any errors you see here!

And you can provide information about your device by clicking Help—About to make it easier for officials to find the problem.