better aider

This commit is contained in:
Chris Cochrun 2025-10-07 09:25:22 -05:00
parent bb3cbdb5f4
commit 53abe32896
2 changed files with 22 additions and 12 deletions

View file

@ -2315,7 +2315,7 @@ Describe everything that follows in the present tense, in response to what I typ
(chris/leader-keys
:states '(normal visual)
:keymaps 'override
"la" 'gptel-send
"ls" 'gptel-send
"lm" 'gptel-menu))
#+end_src
*** Ellama
@ -2384,11 +2384,16 @@ Idk, let's try this i guess
#+begin_src emacs-lisp
(use-package aidermacs
:config
(setenv "OPENAI_API_BASE" "https://ai.tfcconnection.org/v1")
(setenv "OPENAI_API_KEY" "yes")
(setq aidermacs-default-model "openai/gemma3:latest"
(setenv "OLLAMA_API_BASE" "https://ai.tfcconnection.org")
(setenv "OPENAI_API_KEY" "")
(setq aidermacs-default-model "ollama_chat/qwen3"
aidermacs-backend 'comint
aidermacs-watch-files t))
aidermacs-watch-files t)
:general
(chris/leader-keys
:states 'normal
:keymaps 'override
"la" '(aidermacs-transient-menu :which-key "aidermacs")))
#+end_src
** Jinx
@ -3809,7 +3814,7 @@ I'd like to start learning and using rust if I can.
(setq rustic-format-on-save t
rustic-lsp-client 'eglot
rustic-clippy-arguments "-- -W clippy::pedantic -W clippy::perf -W clippy::nursery -W clippy::unwrap_used"
rustic-rustfmt-args "--edition 2021"
rustic-rustfmt-args "--edition 2024"
rust-format-on-save t
rustic-cargo-clippy-trigger-fix t
rustic-cargo-clippy-fix-args "--allow-dirty"

17
init.el
View file

@ -1783,16 +1783,21 @@ Describe everything that follows in the present tense, in response to what I typ
(chris/leader-keys
:states '(normal visual)
:keymaps 'override
"la" 'gptel-send
"ls" 'gptel-send
"lm" 'gptel-menu))
(use-package aidermacs
:config
(setenv "OPENAI_API_BASE" "https://ai.tfcconnection.org/v1")
(setenv "OPENAI_API_KEY" "yes")
(setq aidermacs-default-model "openai/gemma3:latest"
(setenv "OLLAMA_API_BASE" "https://ai.tfcconnection.org")
(setenv "OPENAI_API_KEY" "")
(setq aidermacs-default-model "ollama_chat/qwen3"
aidermacs-backend 'comint
aidermacs-watch-files t))
aidermacs-watch-files t)
:general
(chris/leader-keys
:states 'normal
:keymaps 'override
"la" '(aidermacs-transient-menu :which-key "aidermacs")))
(use-package jinx
;; :hook (emacs-startup . global-jinx-mode)
@ -2807,7 +2812,7 @@ current buffer's, reload dir-locals."
(setq rustic-format-on-save t
rustic-lsp-client 'eglot
rustic-clippy-arguments "-- -W clippy::pedantic -W clippy::perf -W clippy::nursery -W clippy::unwrap_used"
rustic-rustfmt-args "--edition 2021"
rustic-rustfmt-args "--edition 2024"
rust-format-on-save t
rustic-cargo-clippy-trigger-fix t
rustic-cargo-clippy-fix-args "--allow-dirty"