-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Shouldn't ask to add not existing files to the chat #728
Comments
Thanks for trying aider and filing this issue. This doc may be helpful: |
I would expect Aider to ask to include these files: Add these files to the chat? and if I have the --yes option enabled, it will even do it automatically. |
Are those files part of your git repo? If you do |
No. another example from a moment ago I thought that /add creates a file if it doesn't exist. But for me something is missing here. There is a text: I'll wait for your approval to proceed but I must admit that he made the format method very nicely because extracted all the data from the Document class, which is not part of the code because it is from the Spring AI package But this is a completely different story, how to make sure that if something changes in the public library, he will know about it. For example, a new field will be added to the Document class, how will it know about its existence? Do you expect it will be possible to add code from outside the project repository to the repomap? Aider v0.40.7-dev |
Aider only works with the code in your repo. It can't see code outside the repo. |
Ok, I understand this. but what about the problem that the user must accept adding a file but the question about adding a file does not appear? |
That was just the LLM talking to you, not aider itself. I think the LLM was a bit confused about the exact way aider works. |
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
Hi,
if it knows that new files must be created than it shouldn't ask to add them to the chat:
Version and model info
Aider: 0.40.0
Model: Claude Sonnet 3.5
The text was updated successfully, but these errors were encountered: