From 3032aefc862bea3c7dd36e9122acdea41696708e Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 19 Jun 2025 06:23:37 -0500 Subject: [PATCH] working aider --- .gitignore | 3 ++- README.org | 8 +++----- init.el | 8 +++----- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 6b862de9..224ad646 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ tramp bookmarks elpa -recentf \ No newline at end of file +recentf +.aider* diff --git a/README.org b/README.org index deada7b3..c9bfa57b 100644 --- a/README.org +++ b/README.org @@ -2288,7 +2288,7 @@ GPTEL is a package that uses chatGPT to get some text generation in org-mode #+begin_src emacs-lisp (use-package gptel :init - (setq gptel-model "llama3.2:3b-instruct-fp16" + (setq gptel-model "gemma3:4b-it-q8_0" gptel-backend (gptel-make-ollama "ollama" :host "ai.tfcconnection.org" :protocol "https" @@ -2379,12 +2379,10 @@ Idk, let's try this i guess #+begin_src emacs-lisp (use-package aidermacs :config + (setenv "OLLAMA_API_BASE" "https://ai.tfcconnection.org") (setq aidermacs-default-model "ollama_chat/llama3.2:latest" aidermacs-backend 'comint - aidermacs-watch-files t) - (add-hook 'aidermacs-before-run-backend-hook - ((lambda () - (setenv "OLLAMA_API_BASE" "https://ai.tfcconnection.org"))))) + aidermacs-watch-files t)) #+end_src ** Jinx diff --git a/init.el b/init.el index adc773cb..7c6f8552 100644 --- a/init.el +++ b/init.el @@ -1760,7 +1760,7 @@ Also see `chris/window-delete-popup-frame'." command) (use-package gptel :init - (setq gptel-model "llama3.2:3b-instruct-fp16" + (setq gptel-model "gemma3:4b-it-q8_0" gptel-backend (gptel-make-ollama "ollama" :host "ai.tfcconnection.org" :protocol "https" @@ -1787,12 +1787,10 @@ Describe everything that follows in the present tense, in response to what I typ (use-package aidermacs :config + (setenv "OLLAMA_API_BASE" "https://ai.tfcconnection.org") (setq aidermacs-default-model "ollama_chat/llama3.2:latest" aidermacs-backend 'comint - aidermacs-watch-files t) - (add-hook 'aidermacs-before-run-backend-hook - ((lambda () - (setenv "OLLAMA_API_BASE" "https://ai.tfcconnection.org"))))) + aidermacs-watch-files t)) (use-package jinx ;; :hook (emacs-startup . global-jinx-mode)