-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<Source> Tags Visible : Search & Replace Blocks Parsing Fails #2498
Comments
Thanks for trying aider and filing this issue. This is because you are editing file which contain triple backticks. In this case aider can't use them to format its own output. |
Ah, I see. I was wondering what could possibly be the cause and I knew Bash had something to do with it. I am a huge fan of Aider and the consistency in your response time and the attention to detail is extremely admirable 💯 🥇 Thanks for all you do 🔥 |
@paul-gauthier Actually, I just verified that some of the files in question do not seem to contain triple backticks? Do you have any idea what else could be causing Aider to struggle with the formatting ? |
Can you show me the entire output? What does |
Running
Well - I went to start a new Aider session to generate some sample output. Of couse, rebooting Aider caused the issue to dissipate. 😄 Maybe the original theory about backticks is more comprehensive than thought (i.e. when a file breaks the formatting of the agent - it breaks the formatting for that entire chat session?). Admittedly, that was the longest session I ever did with aider, it spanned several files, received warning about unnecessary files in context, and was on-and-off at it for about 3-4 hrs. I can provide more comprehensive logs from my Aider history if you would like to troubleshoot further. |
I'm labeling this issue as stale because it has been open for 2 weeks with no activity. If there are no additional comments, I will close it in 7 days. Note: A bot script made these updates to the issue. |
I'm closing this issue because it has been stalled for 3 weeks with no activity. Feel free to add a comment here and we can re-open it. Or feel free to file a new issue at any time. Note: A bot script made these updates to the issue. |
Issue
When Aider is suggesting changes, as of recent upgrades to v 65.1, I no longer get properly formatted diffs when using bash prompts.
For example:
As you can see ^^ , source tags are visible in all my output, and thus formatting is not applied:
Version and model info
Aider v0.65.1
Model: claude-3-5-sonnet-20241022 with diff edit format, infinite output
Weak Model: claude-3-5-haiku-20241022
Git repo: .git with 525 files
Repo-map: using 1024 tokens, auto refresh
Linux fedora-workstation 6.11.8-300.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 14 20:37:39 UTC 2024 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: