branch: elpa/aidermacs commit b28ac91f1b8518b35116f259b9f1aa9d1e104eab Author: u-yuta <u-y...@users.noreply.github.com> Commit: Matthew Zeng <matthew...@posteo.net>
Update README to improve model configuration documentation Clarify model hierarchy behavior in Architect mode and explain the initial-only inheritance from default model. --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5807dadf0f..321a9e1f31 100644 --- a/README.md +++ b/README.md @@ -152,19 +152,22 @@ You can switch to it persistently by `M-x aidermacs-switch-to-architect-mode` (` You can configure each model independently: ```emacs-lisp -;; Architect model for reasoning (defaults to aidermacs-default-model) +;; Architect model for reasoning (initially defaults to aidermacs-default-model) (setq aidermacs-architect-model "sonnet") -;; Editor model for code generation (defaults to aidermacs-default-model) +;; Editor model for code generation (initially defaults to aidermacs-default-model) (setq aidermacs-editor-model "deepseek/deepseek-chat") ``` The model hierarchy works as follows: -- When Architect mode is enabled, `aidermacs-default-model` is ignored -- The Architect model handles high-level reasoning and solution design -- The Editor model executes the actual code changes +- When Architect mode is enabled: + - The Architect model handles high-level reasoning and solution design + - The Editor model executes the actual code changes +- When Architect mode is disabled, only `aidermacs-default-model` is used - You can configure both models independently or let them default to `aidermacs-default-model` +*Note: The architect and editor models only inherit from `aidermacs-default-model` when first initialized. Changing `aidermacs-default-model` later will not update the other models. For consistent behavior, set each model explicitly.* + *Note: These configurations will be overwritten by the existence of an `.aider.conf.yml` file (see [details](#Overwrite-Configuration-with-Configuration-File)).* ### Customize Weak Model