diff --git a/emacs/.emacs.d/config/init-ai.el b/emacs/.emacs.d/config/init-ai.el index b1f46a5..24ba99c 100644 --- a/emacs/.emacs.d/config/init-ai.el +++ b/emacs/.emacs.d/config/init-ai.el @@ -1,5 +1,16 @@ ;; -*- lexical-binding: t; -*- +(use-package gptel + :commands (gptel-send + gptel + gptel-request) + :config + (setq gptel-model "llama3:latest" + gptel-backend (gptel-make-ollama "Ollama" + :stream t + :models '("llama3:latest" + "mistral:latest")))) + (use-package llama :straight `(:local-repo ,(expand-file-name "packages/llama" user-emacs-directory) :type nil) :load-path "packages/llama"