Skip to content
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

It should be possible to explicitly add files outside of --subtree-only #2088

Open
mikehearn opened this issue Oct 19, 2024 · 2 comments
Open
Labels
question Further information is requested

Comments

@mikehearn
Copy link

Issue

I have a small-ish mono-repo (~2,100 files), so I'd like to use --subtree-only, but I also have some markdown files that contain internal documentation I'd like the model to read that are outside the usual subtree where the code is. Currently I can't write something like:

aider --subtree-only ../docs/*.md

because aider ignores the files outside the subtree.

Version and model info

v0.55.0
Main model: claude-3-5-sonnet-20240620 with diff edit format, infinite output
Weak model: claude-3-haiku-20240307

@paul-gauthier
Copy link
Collaborator

You can use --read to add files from anywhere in the file system.

@paul-gauthier paul-gauthier added the question Further information is requested label Oct 19, 2024
@mikehearn
Copy link
Author

Thanks! If that's the right UX then it'd be good if aider spotted this mistake and notified the user about the --read flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants