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

REQ: Detect references to drop files in chat the way references to files to add are detected and prompted #2080

Open
5ocworkshop opened this issue Oct 18, 2024 · 0 comments

Comments

@5ocworkshop
Copy link

Issue

Right now aider will notice if you refer to files in a certain way in the chat and prompt you if you want to add them to the chat if they are not already present. This is really helpful.

Likewise, I think it would be good if there was an explicit reference to dropping files from the chat, that they could be similarly prompted for confirmation with the user.

The reason this is desirable is because it allows the writing of prompts that can make decisions about adding and removing files from the chat that can have additional prompting instructions in them. For example, you could have a small control prompt that looks at the error/debugging situation and based on what it wants to do next, it could unload one extended prompt file and load a different one. This would make it easier to have multi-path prompting without having to manually make these decisions and changes every time.

Version and model info

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

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

No branches or pull requests

1 participant