Add gptel

This commit is contained in:
Jeremy Dormitzer 2024-07-03 15:21:34 -04:00
parent 9acc16c9aa
commit 893a673616

View File

@ -1,5 +1,16 @@
;; -*- lexical-binding: t; -*- ;; -*- 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 (use-package llama
:straight `(:local-repo ,(expand-file-name "packages/llama" user-emacs-directory) :type nil) :straight `(:local-repo ,(expand-file-name "packages/llama" user-emacs-directory) :type nil)
:load-path "packages/llama" :load-path "packages/llama"