branch: elpa/gptel
commit 44f75b7d429be209b92980976fc2bd87cfefa60b
Author: Karthik Chikmagalur <[email protected]>
Commit: Karthik Chikmagalur <[email protected]>
gptel-transient: Fix key collision in gptel-menu
* gptel-transient.el (gptel--infix-track-response,
gptel--infix-include-reasoning): Fix a key collision between
the include reasoning option and the "add region as context"
action. The mnemonic for the new keys is
- "-r" for adding region to context: r for region, unchanged.
- "-v" for including reasoning: v for verbose
- "-R" for separating user and LLM messages: No mnemonic yet,
might change this in the future again.
---
gptel-transient.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gptel-transient.el b/gptel-transient.el
index 9e092dcafb..d162246225 100644
--- a/gptel-transient.el
+++ b/gptel-transient.el
@@ -982,7 +982,7 @@ querying the LLM."
:set-value #'gptel--set-with-scope
:display-if-true "Yes"
:display-if-false "No"
- :key "-v")
+ :key "-R")
(transient-define-infix gptel--infix-track-media ()
"Send media from \"standalone\" links in the prompt.
@@ -1124,7 +1124,7 @@ Available behaviors are
:display-map '((nil . "No")
(ignore . "and ignore")
(t . "with response"))
- :key "-r"
+ :key "-v"
:prompt "Include reasoning: "
:reader (lambda (prompt &rest _)
(let* ((choices '(("no" . nil)