branch: elpa/aidermacs
commit dbd8253aea4f12264e147ed0a7b4b8dad80c2d2c
Author: tninja <tni...@gmail.com>
Commit: tninja <tni...@gmail.com>

    add claude 3.5 sonnet as default config in README
---
 README.org | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/README.org b/README.org
index a1747dd34d..e465b25b73 100644
--- a/README.org
+++ b/README.org
@@ -4,7 +4,7 @@
 
 - Do you like the AI features of [[https://www.cursor.com/][Cursor AI Code 
Editor]], but prefer to stay within Emacs?
 
-- [[https://github.com/paul-gauthier/aider][Aider]] is good AI pair 
programming in the terminal.
+- [[https://github.com/paul-gauthier/aider][Aider]] is well-known, really good 
AI pair programming in the terminal.
 
 - aider.el provides an interactive interface to communicate with Aider in 
emacs.
   - Most of the Elisp code in this repository was generated by aider / 
aider.el.
@@ -39,9 +39,14 @@
   (use-package aider
     :straight (:host github :repo "tninja/aider.el" :files ("aider.el"))
     :config
-    (setq aider-args '("--model" "gpt-4o-mini"))
-    (setenv "OPENAI_API_KEY" <your-openai-api-key>)
-    ;; Optional: Set a key binding for the transient menu
+    ;; Use claude-3-5-sonnet cause it is best in aider benchmark 
+    (setq aider-args '("--model" "anthropic/claude-3-5-sonnet-20241022"))
+    (setenv "ANTHROPIC_API_KEY" anthropic-api-key)
+    ;; Or use chatgpt model since it is most well known
+    ;; (setq aider-args '("--model" "gpt-4o-mini"))
+    ;; (setenv "OPENAI_API_KEY" <your-openai-api-key>)
+    ;; ;;
+    Optional: Set a key binding for the transient menu
     (global-set-key (kbd "C-c a") 'aider-transient-menu))
 #+END_SRC
 
@@ -71,7 +76,7 @@ The aider prefix is "A".
 
 ** Optional
 
-- You might want to try aider-helm.el. That file added support of command 
history and completion from helm.
+- You might want to try [[./aider-helm.el][aider-helm.el]]. That file added 
support of command history and completion from helm.
 
 - If you enjoy writing aider command in a separate file and send them to aider 
session, just like working on python or R script and send code block into REPL, 
you might want to try aider-minor-mode. It by default bind C-c C-n to send 
current line to aider session, and C-c C-c to send current region to aider 
session.
   - To automatically enable aider-minor-mode to any file with aider inside 
filename
@@ -99,3 +104,5 @@ The aider prefix is "A".
   - [[https://github.com/shouya/ancilla.el][ancilla.el]]: AI Coding Assistant 
support code generation / code rewrite / discussion
   - [[https://github.com/xenodium/chatgpt-shell][chatgpt-shell]]: ChatGPT and 
DALL-E Emacs shells + Org Babel
   - [[https://github.com/copilot-emacs/copilot.el][copilot.el]]: Emacs plugin 
for GitHub Copilot
+  - [[https://github.com/chep/copilot-chat.el][copilot-chat.el]]: Chat with 
GitHub Copilot in Emacs
+    

Reply via email to