Feature Request: add editor mode prompt additions
I would love to be able to add text to the editor mode prompt.
Many models, including the new GPT-4.1 are overly verbose with their search replace strings, and use way more guard lines than necessary. After hundreds of edits, this adds up to a real token cost.
By using architect mode, and then /code I can tell the editor to "be consice about search replace blocks" or "make small edits, you can do multiple edits at once" it is much more efficient, but I feel like this could be done with an option that can append a single line of text or an md file to the end of the editor prompt.
Have you seen this page of the documentation? It seems very similar to what you're looking for: https://aider.chat/docs/usage/conventions.html
Have you seen this page of the documentation? It seems very similar to what you're looking for: https://aider.chat/docs/usage/conventions.html
- Conventions are meant to be per-project files (though, there is an idea to implement a global file support),
- and also, to describe the tools and code style, not the aider's editor behavior.
- This issue describes something, which, if described correctly, is the common problem, not just for one man who can fix it in their setup.
- There is (not yet reported?) inconvenience -
readoption from config is overridden by--read, which makes convention's usage situational.
yes, I have seen that documentation page, however I would like to specify a prompt for the editor model only, when using architect mode. very frequently, when making changes to large files, the editor model will regenerate large chunks of the file being edited, with a small error that makes the search replace block invalid.
I can tell the architect model to tell the editor model that, but when the context gets large, many times the convetions.md file gets lost in the fray... I'd like to be able to put the editor prompt at the top of the prompt, like a system prompt addendum for the editor
I see how that's different and could be helpful, thanks for explaining.