summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-05-24 15:33:43 -0500
committerCraig Jennings <c@cjennings.net>2025-05-24 15:33:43 -0500
commit828fb9189ecc76211e0f3b9eb3af5cf52eb13d86 (patch)
treebd165ab3a9259abc01d83c32687f0c0baacb13d2 /modules
parent460f6e284b3519941c470ded291df2dd6619d928 (diff)
downloaddotemacs-828fb9189ecc76211e0f3b9eb3af5cf52eb13d86.tar.gz
dotemacs-828fb9189ecc76211e0f3b9eb3af5cf52eb13d86.zip
improve the prompt for code (same as default)
Diffstat (limited to 'modules')
-rw-r--r--modules/ai-config.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/ai-config.el b/modules/ai-config.el
index 01b089ced..374838472 100644
--- a/modules/ai-config.el
+++ b/modules/ai-config.el
@@ -41,8 +41,10 @@
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.")
+ . "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.")
(writing
. "You are a large language model and a writing assistant. Respond
concisely.")