From 5faa99158d1a16215e247a54e13272192dab7217 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 21 May 2024 11:01:13 -0400 Subject: [PATCH] Make the default llm chat aware that its inside of Emacs --- emacs/.emacs.d/packages/llm/llm.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/.emacs.d/packages/llm/llm.el b/emacs/.emacs.d/packages/llm/llm.el index 48db576..e09dab1 100644 --- a/emacs/.emacs.d/packages/llm/llm.el +++ b/emacs/.emacs.d/packages/llm/llm.el @@ -224,7 +224,7 @@ The process is named NAME and runs in BUFFER-NAME." ;;;###autoload (defun llm-chat (system-prompt &optional name) "Start a chat session with llm, prompting it with SYSTEM-PROMPT, naming the process and buffer NAME." - (interactive (list (read-string "System prompt: " "You are a helpful AI assistant.") + (interactive (list (read-string "System prompt: " "You are a helpful AI assistant running inside the Emacs text editor.") "llm-chat")) (let* ((name (or name "llm-chat")) (buffer-name (format "*%s*" name))