summaryrefslogtreecommitdiff
path: root/modules/ai-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-14 00:22:26 -0500
committerCraig Jennings <c@cjennings.net>2024-04-14 00:22:26 -0500
commitdc8ec3fa8e996b605e01dc54dd41534ce0558335 (patch)
treedec4c6850b4acff604fd6f080ab5fb70b6e8d6c1 /modules/ai-config.el
parent61393683774458a18a99d8548b03e841045b239d (diff)
tests and more bug fixing
- make org todo starting priority the lowest ("D") - better default prompt for gptel - added function to browse arch-wiki-docs - added tests for join line or region - added tests for format region or buffer - added region arguments to cj/join-paragraph - updated tasks
Diffstat (limited to 'modules/ai-config.el')
-rw-r--r--modules/ai-config.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/ai-config.el b/modules/ai-config.el
index be4cffa9..e4ef932e 100644
--- a/modules/ai-config.el
+++ b/modules/ai-config.el
@@ -36,9 +36,11 @@
:config
(setq gptel-directives
'((default
- . "You are a large language model living in Emacs and a careful and
- knowledgeable emacs-lisp programmer. Respond accurately and concisely.")
- (programming
+ . "You are a large language model living in Emacs. You are an expert
+ in emacs-lisp, Python, Golang, and Shell scripting. You encourage unit testing
+ code and propose unit tests when you provide code. Please be accurate and
+ concise in your responses.")
+ (code-only
. "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