Make the default llm chat aware that its inside of Emacs
This commit is contained in:
parent
b231ec9327
commit
5faa99158d
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user