feat: add architect command and improve coder class documentation

This commit is contained in:
Paul Gauthier 2024-12-09 15:30:01 -08:00 committed by Paul Gauthier (aider)
parent 4fcbf28f91
commit c5d51d62c4
3 changed files with 9 additions and 0 deletions

View file

@ -3,5 +3,6 @@ from .editor_editblock_prompts import EditorEditBlockPrompts
class EditorEditBlockCoder(EditBlockCoder): class EditorEditBlockCoder(EditBlockCoder):
"A coder that uses search/replace blocks, focused purely on editing files."
edit_format = "editor-diff" edit_format = "editor-diff"
gpt_prompts = EditorEditBlockPrompts() gpt_prompts = EditorEditBlockPrompts()

View file

@ -3,5 +3,6 @@ from .wholefile_coder import WholeFileCoder
class EditorWholeFileCoder(WholeFileCoder): class EditorWholeFileCoder(WholeFileCoder):
"A coder that operates on entire files, focused purely on editing files."
edit_format = "editor-whole" edit_format = "editor-whole"
gpt_prompts = EditorWholeFilePrompts() gpt_prompts = EditorWholeFilePrompts()

View file

@ -103,6 +103,13 @@ class Commands:
("help", "Get help about using aider (usage, config, troubleshoot)."), ("help", "Get help about using aider (usage, config, troubleshoot)."),
("ask", "Ask questions about your code without making any changes."), ("ask", "Ask questions about your code without making any changes."),
("code", "Ask for changes to your code (using the best edit format)."), ("code", "Ask for changes to your code (using the best edit format)."),
(
"architect",
(
"Work with an architect model to design code changes, and an editor to make"
" them."
),
),
] ]
) )