From 828fb9189ecc76211e0f3b9eb3af5cf52eb13d86 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 24 May 2025 15:33:43 -0500 Subject: improve the prompt for code (same as default) --- modules/ai-config.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'modules') 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.") -- cgit v1.2.3