fix: Fix gptel-directives types

This commit is contained in:
Tristan D. 2024-10-17 15:38:28 +02:00
parent 378482f1a3
commit 20c384ea90
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4

View file

@ -329,13 +329,13 @@
:models '("llama-cpp-model"))) :models '("llama-cpp-model")))
(setq! gptel-model "llama-cpp-model") (setq! gptel-model "llama-cpp-model")
(setq! gptel-directives '(('default (setq! gptel-directives '((default
. "You are a large language model living in Emacs and a helpful assistant. Respond concisely.") . "You are a large language model living in Emacs and a helpful assistant. Respond concisely.")
('programming (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.") . "You are a large language model and a careful programmer. Provide code and only code as output without any additional text, prompt or note.")
('writing (writing
. "You are a large language model and a writing assistant. Respond concisely.") . "You are a large language model and a writing assistant. Respond concisely.")
('chat (chat
. "You are a large language model and a conversation partner. Respond concisely."))) . "You are a large language model and a conversation partner. Respond concisely.")))
(setq! gptel-expert-commands t) (setq! gptel-expert-commands t)
(setq! gptel-temperature 0.2) (setq! gptel-temperature 0.2)