-
Notifications
You must be signed in to change notification settings - Fork 1k
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
existing folder contents overridden when /add dirname/
in aider --yes
#599
Comments
Possibly unrelated... maybe another thing to smooth over? aider --yes tests/* *.py
tests/__pycache__ is a directory, not provided alone.
Provide either a single directory of a git repo, or a list of one or more files. it worked to do tests/*.py instead but maybe this kinda thing can just be ignored and the other files can still be loaded? |
Thanks for trying aider and filing this issue. I can not reproduce this error:
The fact that you got a Are you able to reproduce this bug? |
I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time. |
Issue
I had just had chat_gpt refactor my aider-made code, and make tests for it, and wanted to go back and start running those tests via the aider /run loop. I had previously made new files, made a tests folder, and in vs code dragged them into that folder. Then in the terminal I went back to aider and switched from the single-file to multi-file context, including the subfolder of tests I tried to add. Since I was in --yes mode, it appears to have assumed it needed to create a new blank tests folder. I don't know why it did that or why it crashed, but now my tests folder is empty and I don't have those test files in vs code anymore.
I acknowledge that I Should Have committed my own new files first so I wasn't asking aider to operate on uncommitted changes... and I can just copy/paste the files from chatgpt again.. so it's no big loss, just maybe this is an avoidable bug.
Version and model info
Aider v0.32.0
Models: gpt-4-1106-preview with udiff edit format, weak model gpt-3.5-turbo
Git repo: .git with 2 files
Repo-map: using 1024 tokens
VSCode terminal detected, pretty output has been disabled.
Use /help to see in-chat commands, run with --help to see cmd line args
The text was updated successfully, but these errors were encountered: