You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using Aider it , correctly identifies the changes to be done in the repo, but it is not able to make those changes in the code. It gives below mentioned error, I have also tried using various edit formats after reading File editing problems troubleshooting guide.
The LLM did not conform to the edit format.
https://aider.chat/docs/troubleshooting/edit-errors.html
1 SEARCH/REPLACE block failed to match!
SearchReplaceNoExactMatch: This SEARCH block failed to exactly match lines
in change_demo\CreateAnItems (1).cpp
The SEARCH section must exactly match an existing block of lines including all
white space, comments, indentation, docstrings, etc
Please provide a solution to this issue.
Version and model info
Aider v0.77.1
Model: azure/gpt-4o-mini with architect edit format
Editor model: azure/gpt-4o-mini with diff edit format
Git repo: .git with 0 files
Repo-map: using 4096 tokens, auto refresh
The text was updated successfully, but these errors were encountered:
O-m-k-a-r
changed the title
LLM did not conform to the edit
LLM did not conform to the edit | SEARCH/REPLACE block failed to match!
Mar 27, 2025
Issue
While using Aider it , correctly identifies the changes to be done in the repo, but it is not able to make those changes in the code. It gives below mentioned error, I have also tried using various edit formats after reading File editing problems troubleshooting guide.
Please provide a solution to this issue.
Version and model info
Aider v0.77.1
Model: azure/gpt-4o-mini with architect edit format
Editor model: azure/gpt-4o-mini with diff edit format
Git repo: .git with 0 files
Repo-map: using 4096 tokens, auto refresh
The text was updated successfully, but these errors were encountered: