Minor tweaks
This commit is contained in:
parent
8db9cc7e8f
commit
d36967e371
@ -223,10 +223,10 @@ You have the ability to evaluate Emacs Lisp code. To do so, output the Emacs Lis
|
||||
((markdown-link-p) (markdown-follow-link-at-point))))
|
||||
|
||||
(defun llama-chat-context-action ()
|
||||
"Perform a contextual action in the chat buffer based on the point.
|
||||
"Perform a contextual action in the chat buffer based on the point:
|
||||
|
||||
- follows the link at point
|
||||
- submits the input if point is at the end of the buffer"
|
||||
* follows the link at point
|
||||
* submits the input if point is within the user input zone"
|
||||
(interactive)
|
||||
(cond
|
||||
((markdown-link-p) (llama-chat-follow-link))
|
||||
@ -269,7 +269,7 @@ You have the ability to evaluate Emacs Lisp code. To do so, output the Emacs Lis
|
||||
(pop-to-buffer (llama-chat-buffer
|
||||
"*llama-doctor*"
|
||||
(llm-make-chat-prompt
|
||||
"Briefly greet the user without mentioning your name and ask how you can help."
|
||||
"Briefly greet the client without mentioning your name and ask how you can help."
|
||||
:context "You are an empathetic therapist."))))
|
||||
|
||||
(keymap-set llama-chat-mode-map "RET" #'llama-chat-context-action)
|
||||
|
Loading…
Reference in New Issue
Block a user