From bde4db59a7e054713f866f3c1a235fbbe4c20f51 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 30 Dec 2024 14:26:39 +0100 Subject: install ollama + emacs frontend --- user/emacs/init.el | 6 ++++++ user/settings/emacs.nix | 1 + 2 files changed, 7 insertions(+) diff --git a/user/emacs/init.el b/user/emacs/init.el index 742107f5..037f8385 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -790,6 +790,12 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve :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 diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 0b1318a0..f0a0a0ee 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -74,6 +74,7 @@ in cape clojure-mode cask-mode + chatgpt-shell corfu consult consult-dir -- cgit 1.4.1