working aider

This commit is contained in:
Chris Cochrun 2025-06-19 06:23:37 -05:00
parent 9d611fb93f
commit 3032aefc86
3 changed files with 8 additions and 11 deletions

3
.gitignore vendored
View file

@ -11,4 +11,5 @@ tramp
bookmarks bookmarks
elpa elpa
recentf recentf
.aider*

View file

@ -2288,7 +2288,7 @@ GPTEL is a package that uses chatGPT to get some text generation in org-mode
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package gptel (use-package gptel
:init :init
(setq gptel-model "llama3.2:3b-instruct-fp16" (setq gptel-model "gemma3:4b-it-q8_0"
gptel-backend (gptel-make-ollama "ollama" gptel-backend (gptel-make-ollama "ollama"
:host "ai.tfcconnection.org" :host "ai.tfcconnection.org"
:protocol "https" :protocol "https"
@ -2379,12 +2379,10 @@ Idk, let's try this i guess
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package aidermacs (use-package aidermacs
:config :config
(setenv "OLLAMA_API_BASE" "https://ai.tfcconnection.org")
(setq aidermacs-default-model "ollama_chat/llama3.2:latest" (setq aidermacs-default-model "ollama_chat/llama3.2:latest"
aidermacs-backend 'comint aidermacs-backend 'comint
aidermacs-watch-files t) aidermacs-watch-files t))
(add-hook 'aidermacs-before-run-backend-hook
((lambda ()
(setenv "OLLAMA_API_BASE" "https://ai.tfcconnection.org")))))
#+end_src #+end_src
** Jinx ** Jinx

View file

@ -1760,7 +1760,7 @@ Also see `chris/window-delete-popup-frame'." command)
(use-package gptel (use-package gptel
:init :init
(setq gptel-model "llama3.2:3b-instruct-fp16" (setq gptel-model "gemma3:4b-it-q8_0"
gptel-backend (gptel-make-ollama "ollama" gptel-backend (gptel-make-ollama "ollama"
:host "ai.tfcconnection.org" :host "ai.tfcconnection.org"
:protocol "https" :protocol "https"
@ -1787,12 +1787,10 @@ Describe everything that follows in the present tense, in response to what I typ
(use-package aidermacs (use-package aidermacs
:config :config
(setenv "OLLAMA_API_BASE" "https://ai.tfcconnection.org")
(setq aidermacs-default-model "ollama_chat/llama3.2:latest" (setq aidermacs-default-model "ollama_chat/llama3.2:latest"
aidermacs-backend 'comint aidermacs-backend 'comint
aidermacs-watch-files t) aidermacs-watch-files t))
(add-hook 'aidermacs-before-run-backend-hook
((lambda ()
(setenv "OLLAMA_API_BASE" "https://ai.tfcconnection.org")))))
(use-package jinx (use-package jinx
;; :hook (emacs-startup . global-jinx-mode) ;; :hook (emacs-startup . global-jinx-mode)