Add aidermacs

This commit is contained in:
Tristan D. 2025-03-17 23:17:13 +01:00
parent abdd31f143
commit 9e35eac91a
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4
2 changed files with 15 additions and 2 deletions

View file

@ -496,6 +496,17 @@
;; (setq! magit-gptcommit-llm-provider (make-llm-openai-compatible :key "OPENAI-KEY" :url "http://100.64.0.3:8080/v1/")
(use-package! aidermacs
:bind (("C-c a" . aidermacs-transient-menu))
:config
;; (setenv "ANTHROPIC_API_KEY" "sk-...") ; Set API_KEY in .bashrc, that will automatically picked up by aider or in elisp
;; (setenv "OPENROUTER_API_KEY" (my-get-openrouter-api-key)) ; defun my-get-openrouter-api-key yourself elsewhere for security reasons
:custom ; See the Configuration section below
(aidermacs-use-architect-mode t)
;; (aidermacs-default-model "sonnet")
)
(defvar my-C-f-funcs '())
(defun my-C-f ()
(interactive)

View file

@ -50,8 +50,10 @@
;; :recipe (:host github :repo "zerolfx/copilot.el" :files ("*.el" "dist")))
;;;;;;;;;;;;;;;;;;;;;;;;;
;; aidermacs
(package! aidermacs :recipe (:host github :repo "MatthewZMD/aidermacs" :branch "main"))
;; gptel
(package! gptel :recipe (:type git :host nil :repo "https://github.com/karthink/gptel.git" :branch "master"))
(package! gptel :recipe (:host github :repo "karthink/gptel" :branch "master"))
;; gptel-extensions
(package! gptel-extensions :recipe (:host github :repo "kamushadenes/gptel-extensions.el"))
;; gptcommit
@ -64,7 +66,7 @@
(package! treesit-fold :recipe (:host github :repo "emacs-tree-sitter/treesit-fold"))
(package! eglot-x :recipe (:host github :repo "nemethf/eglot-x"))
(package! eglot-booster :recipe (:type git :host nil :repo "https://github.com/jdtsmith/eglot-booster.git" :branch "main"))
(package! eglot-booster :recipe (:host github :repo "jdtsmith/eglot-booster" :branch "main"))
(package! eat :recipe (:type git
:host codeberg