From adde5e08d0ff6306aca16f8a88ad020ec48d0991 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 30 Sep 2024 08:34:40 -0700 Subject: [PATCH] copy --- aider/website/docs/usage/modes.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/aider/website/docs/usage/modes.md b/aider/website/docs/usage/modes.md index 9857a39de29..c68537625cf 100644 --- a/aider/website/docs/usage/modes.md +++ b/aider/website/docs/usage/modes.md @@ -44,10 +44,6 @@ After the main model replies, aider will offer to edit the files based on the re This request goes to the "editor" model. Aider has built in defaults to select an editor model based on your main model. Or, you can choose an editor model yourself with `--editor-model `. -The -["editor-diff" and "editor-whole" edit formats](/docs/more/edit-formats.html#editor-diff-and-editor-whole) -are recommended for use -by an Editor model. Architect mode produces better results than code mode, but uses two LLM requests. This probably makes it slower and more expensive than using code mode. @@ -62,6 +58,13 @@ at both the architect and the editor. Allowing the model two requests to solve the problem and edit the files usually provides a better result. +The editor model uses one of aider's edit formats to let the LLM +edit source files. +Aider will pick a suitable edit format by default, +but you can customize it with `--editor-edit-format `. +The +["editor-diff" and "editor-whole" edit formats](/docs/more/edit-formats.html#editor-diff-and-editor-whole) +are the recommended edit formats when using architect mode. See this article on [aider's architect/editor mode](/2024/09/26/architect.html) for more details.