From e0f367faad8abbd1c9e5578acff39d1ae660a55c Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 3 Jul 2024 16:09:55 -0400 Subject: [PATCH] Add gptel-quick --- emacs/.emacs.d/config/init-ai.el | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/config/init-ai.el b/emacs/.emacs.d/config/init-ai.el index 24ba99c..c706c1a 100644 --- a/emacs/.emacs.d/config/init-ai.el +++ b/emacs/.emacs.d/config/init-ai.el @@ -9,7 +9,17 @@ gptel-backend (gptel-make-ollama "Ollama" :stream t :models '("llama3:latest" - "mistral:latest")))) + "mistral:latest"))) + :general + ("C-c RET" #'gptel-send + "C-c C-" #'gptel-menu)) + +(use-package gptel-quick + :straight (:type git :host github :repo "karthink/gptel-quick") + :commands gptel-quick + :general + (embark-general-map + "?" #'gptel-quick)) (use-package llama :straight `(:local-repo ,(expand-file-name "packages/llama" user-emacs-directory) :type nil)