Merge branch 'main' of git.sr.ht:~marcuskammer/emacs.d

This commit is contained in:
Marcus Kammer 2024-06-17 11:48:36 +02:00
commit 8d2342b3c7

View file

@ -367,7 +367,6 @@
;; :defer t
;; :after json-mode)
(defun get-anthropic-key ()
"Retrieve the Anthropics API key using 'auth-source'."
(require 'auth-source)
@ -390,7 +389,7 @@
("C-c G s" . gptel-send))
:custom
(gptel-default-mode 'org-mode)
(gptel-model "gpt-4o")
(gptel-model "gpt-4-turbo")
(gptel-directives
'((default . "You are a large language model living in Emacs and a helpful assistant. Respond concisely.")
(programming . "You are a large language model and a careful programmer. Provide code and only code as output without any additional text, prompt or note.")