mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
feat: add architect command and improve coder class documentation
This commit is contained in:
parent
4fcbf28f91
commit
c5d51d62c4
3 changed files with 9 additions and 0 deletions
|
@ -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()
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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."
|
||||||
|
),
|
||||||
|
),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue