Skip to content

Cannot use apply diff, write to file, or search and replace. Claude Sonnet 4 OR.Β #4946

@dairefagan

Description

@dairefagan

App Version

3.21.1

API Provider

OpenRouter

Model Used

Claude 4.0 Sonnet (& Devstral Small in further testing)

πŸ” Steps to Reproduce

I am unable to use apply diff, search and replace, and write to file (unsure if these are the same tools) at all. Ubuntu 22.04.

Image

TASKS.md is 14 lines and 203 tokens. In the screenshot example I just asked Orchestrator for the completed tasks to be marked off and it switched to Code mode. This happens all of the time, whether at the start or mid flow of runs (mentioned as important detail on Reddit). I am new to RooCode so I have never seen this work. I am not using experimental concurrent file edits. It happens when creating files, trying to place text inside empty files, or modify existing files. Sometimes it falls back to using a command to place text which works, or to Desktop Commander MCP which I read on the subreddit was a workaround for this. I would prefer to use the built in tools for this. I have restarted Windsurf and my computer several times but this continues. Probably not relevant but qdrant and nomic-embed-text are running locally. Can you please tell me how I can resolve this?

πŸ’₯ Outcome Summary

The attempts to create or modify files always fail.

πŸ“„ Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

Labels

Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions