summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-08-17 09:53:48 -0500
committerCraig Jennings <c@cjennings.net>2025-08-17 09:53:48 -0500
commit956bbcabd6502a640ad2d2e663ff98879ab1c3a6 (patch)
tree277e43297219efe8d0dfa29defd6f00b88bab8f6 /modules
parent7912764880193e73de88c52d4bf41b69e905a56f (diff)
downloaddotemacs-956bbcabd6502a640ad2d2e663ff98879ab1c3a6.tar.gz
dotemacs-956bbcabd6502a640ad2d2e663ff98879ab1c3a6.zip
feat(ai-config): set gptel-default-directive to code-only
Diffstat (limited to 'modules')
-rw-r--r--modules/ai-config.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/ai-config.el b/modules/ai-config.el
index 241ee42c..8265c1e5 100644
--- a/modules/ai-config.el
+++ b/modules/ai-config.el
@@ -8,13 +8,10 @@
;; - Launch GPTel via F9 or C-h g t, and chat with the AI in the side window.
;; Remember that sending the message requires C-<return>.
-
-
;; Note that you can save a file, then turn on gptel-mode to resume your
;; conversation.
-
;;; ------------------------------- Directives ---------------------------------
(defvar default-directive
@@ -75,6 +72,7 @@
(:map gptel-mode-map
("C-<return>" . gptel-send))
:custom
+ (gptel-default-directive 'code-only)
(gptel-default-mode 'org-mode)
(gptel-expert-commands t)
(gptel-track-media t)