paul-gauthier / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
17.56k stars 1.65k forks source link

Changable base prompt #821

Closed david-strejc closed 1 month ago

david-strejc commented 1 month ago

Issue

Would it be good idea to make base prompt changable to Aider behave in different way? For example if we need aider to refactor code he is sometimes confused how to do that. My question and suggestion is - what about having multiple "base prompts" and those can be changed via /actlike ... for example /actlike refactoringAgent (something simmilar).

This will also make users be able to experiment with different prompts - they can be defined in users aider home config directory.

Version and model info

No response

paul-gauthier commented 1 month ago

Thanks for trying aider and filing this issue. This doc may be helpful:

https://aider.chat/docs/faq.html#can-i-change-the-system-prompts-that-aider-uses

fferreres commented 1 month ago

I found base_coder and the modified coders and their codes intractable. But the " help" coder has been helpful for a minimalist understanding of it, based on io's def cmd_help(self, args) along with the coder and prompt for 'help'. Refactoring anything is futile right now, as is exploring anything that is not immediate code code code code code code code.

paul-gauthier commented 1 month ago

This looks like a duplicate of #821, so I'm going to close it so discussion can happen there. Please let me know if you think it's actually a distinct issue.