all repos — nixfiles @ bde4db59a7e054713f866f3c1a235fbbe4c20f51

System and user configuration, managed by nix and home-manager

install ollama + emacs frontend
Alan Pearce alan@alanpearce.eu
Mon, 30 Dec 2024 14:26:39 +0100
commit

bde4db59a7e054713f866f3c1a235fbbe4c20f51

parent

50e3862ef17fa0aeff2e61b4e3cb61934548721f

2 files changed, 7 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -790,6 +790,12 @@ :defer t   :general (:keymaps 'comint-mode-map
                      "C-c C-l" #'counsel-shell-history))
 
+(use-package chatgpt-shell
+  :defer 5
+  :config (progn
+            (chatgpt-shell-ollama-load-models :override t)
+            (setq chatgpt-shell-model-version "llama3.3")))
+
 ;;; Editing
 
 (setq-default tab-always-indent 'complete
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -74,6 +74,7 @@ benchmark-init         cape
         clojure-mode
         cask-mode
+        chatgpt-shell
         corfu
         consult
         consult-dir