diff --git a/config.el b/config.el index 0cd876f..f08e446 100644 --- a/config.el +++ b/config.el @@ -592,6 +592,15 @@ (use-package! nushell-ts-babel :after nushell-ts-mode) + +(use-package! gptel + :config + (setq! gptel-default-mode #'org-mode) + (gptel-make-ollama + "Ollama" ;Any name of your choosing + :host "localhost:11434" ;Where it's running + :models '("mistral:latest") ;Installed models + :stream t)) ;Stream responses ;; ;;; Custom Variables (custom-set-variables diff --git a/packages.el b/packages.el index 81e26dd..9cb07ed 100644 --- a/packages.el +++ b/packages.el @@ -21,6 +21,7 @@ (unpin! org-journal) ;; Experimental +(package! gptel) (package! nushell-ts-mode :recipe (:host github :repo "herbertjones/nushell-ts-mode")) (package! nushell-ts-babel :recipe (:host github :repo "herbertjones/nushell-ts-babel")) (package! astro-ts-mode)