"tool edit_file not found. Try switching to Agent mode"

When switching from Agent Mode to “Ask Mode”, quite often it writes

tool edit_file not found. Try switching to Agent mode

I am on a Mac M1 Pro.
Version: 0.49.5 (Universal)
VSCode Version: 1.96.2
Commit: fd861c8a80c0f9e4e35294b1915ee8a7b29ae850
Date: 2025-04-24T02:57:26.819Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 23.6.0

Same problem but it’s only happening in ‘gemini-2.5-pro-exp-03-25’ model.

same issue here.

Also happening in Sonnet 3.7 reasoning ask mode

id_chat = 0824ceec-b54a-4239-a97d-fc966ba84947

It seems that the agent does not detect the mode selected and tries to use edit tool, its somewhat mislead the agent about the reasoning path it should follow and diverges its attention.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.