branch: elpa/aidermacs
commit 466899082f88b0a8ae2914856d6d117d9c8deed5
Author: Mingde (Matthew) Zeng <matthew...@posteo.net>
Commit: Mingde (Matthew) Zeng <matthew...@posteo.net>

    Use "sonnet" instead of the full sonnet version
    
    Addresses #35
---
 README.md           | 4 ++--
 aidermacs-models.el | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index b955e27912..71047209b9 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,7 @@ Your contributions are essential to making Aidermacs the best 
AI pair programmin
 (use-package aidermacs
   :straight (:host github :repo "MatthewZMD/aidermacs" :files ("*.el"))
   :config
-  (setq aidermacs-default-model "anthropic/claude-3-7-sonnet-20250219")
+  (setq aidermacs-default-model "sonnet")
   (global-set-key (kbd "C-c a") 'aidermacs-transient-menu)
   ; Ensure emacs can access *_API_KEY through .bashrc or setenv
   (setenv "ANTHROPIC_API_KEY" anthropic-api-key)
@@ -62,7 +62,7 @@ Your contributions are essential to making Aidermacs the best 
AI pair programmin
 You can customize the default AI model used by Aidermacs by setting the 
`aidermacs-default-model` variable:
 
 ```emacs-lisp
-(setq aidermacs-default-model "anthropic/claude-3-7-sonnet-20250219")
+(setq aidermacs-default-model "sonnet")
 ```
 
 This allows you to easily switch between different AI models without modifying 
the `aidermacs-extra-args` variable.
diff --git a/aidermacs-models.el b/aidermacs-models.el
index 980226e201..1ab2b37d60 100644
--- a/aidermacs-models.el
+++ b/aidermacs-models.el
@@ -18,12 +18,12 @@
   "Model selection customization for aidermacs."
   :group 'aidermacs)
 
-(defcustom aidermacs-default-model "anthropic/claude-3-7-sonnet-20250219"
+(defcustom aidermacs-default-model "sonnet"
   "Default AI model to use for aidermacs sessions when not in Architect mode."
   :type 'string
   :group 'aidermacs-models)
 
-(defcustom aidermacs-architect-model "anthropic/claude-3-7-sonnet-20250219"
+(defcustom aidermacs-architect-model "sonnet"
   "Default AI model to use for architectural reasoning in aidermacs sessions."
   :type 'string
   :group 'aidermacs-models)
@@ -51,7 +51,7 @@ Defaults to `aidermacs-default-model` if not explicitly set."
       (aidermacs-exit))))
 
 (defcustom aidermacs-popular-models
-  '("anthropic/claude-3-7-sonnet-20250219"
+  '("sonnet"
     "o1-mini"
     "gemini/gemini-2.0-flash"
     "r1"

Reply via email to