Open FelixLisczyk opened 3 weeks ago
Thanks for trying aider and filing this issue.
You can't use {
and /
-commands.
Thanks for the quick response! I apologize if I wasn't clear enough in my report. Let me clarify:
The first two issues occur independently of multi-line chats:
/read-only
suggestions vs /add
suggestions/add my f
and selecting "My File.txt" suggestion)Regarding the third issue about commands in multi-line chats: I understand that this might not be supported functionality. However, it would be really helpful if it were possible. I often find myself in the middle of answering the AI's clarifying questions when I realize I forgot to add a relevant file to the chat.
Interestingly, the current behavior seems to partially work - in my example, the AI could see and acknowledge the added file, even though the UI didn't reflect this change. Would it be possible to fully support commands in multi-line chats, or is there a technical limitation preventing this?
Thanks again for your work on this project!
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 am still experiencing all three issues in the latest version of Aider 0.65.1.
/read
does case-insensitive matching for me:
I typed "add m
As I said, you can't use curly braces with /
commands. I recommend using /editor
if you need to do very long /add
commands.
/read
does case-insensitive matching for me:
Your screenshot shows you're using /add
instead of /read-only
. The issue only occurs when using the /read-only
command.
- I typed "add m" and it completed the file correctly:
Here is a screen recording demonstrating the issue:
https://github.com/user-attachments/assets/f117ed2d-673a-44bd-8ce5-b35225078f51
- As I said, you can't use curly braces with
/
commands. I recommend using/editor
if you need to do very long/add
commands.
Thanks, I will try the /editor
command.
Hi Paul,
First off, I want to express my gratitude for your amazing work on Aider. It's been incredibly helpful in my projects, and I'm really enjoying using it.
I've encountered a few issues related to adding files to the chat and handling suggestions. To reproduce these issues, you can create a new repository with a single empty file named "My File.txt". Here's what I've noticed:
Case-Sensitivity in Suggestions:
/read-only
command, the file suggestions seem to be case-sensitive./read-only m
doesn't show any suggestions, but/add m
correctly suggests "My File.txt".Incomplete Replacement of Suggestions:
/add my f
and then selecting the suggestion for "My File.txt" only replaces the last part ("m"), leaving "my" unchanged.Multi-line Chat File Addition Issue:
/add
command within multi-line chat blocks (curly braces), the added files don't appear in the Aider UI.Expected Behavior:
Additional Information: Here's an example of what I'm seeing in the terminal when I encounter the multi-line chat issue:
Thanks again for your fantastic work on Aider! Please let me know if there's any other information you need from my end.
Environment:
Aider version: 0.61.0 Python version: 3.12.7 Platform: macOS-15.1-arm64-arm-64bit Python implementation: CPython Virtual environment: Yes OS: Darwin 24.1.0 (64bit) Git version: git version 2.39.5 (Apple Git-154)
Aider v0.61.0 Main model: claude-3-5-sonnet-20241022 with diff edit format, prompt cache, infinite output Weak model: claude-3-haiku-20240307 Git repo: .git with 2 files Repo-map: using 1024 tokens, files refresh