[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gptel fea2879287: gpte-transient: Change order of instruct
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gptel fea2879287: gpte-transient: Change order of instructions when refactoring (#369) |
Date: |
Fri, 30 Aug 2024 15:59:50 -0400 (EDT) |
branch: elpa/gptel
commit fea2879287bb9b2c6f6da8cc67af68301cc25758
Author: Nikita Fedyashev <nfedyashev+github@gmail.com>
Commit: GitHub <noreply@github.com>
gpte-transient: Change order of instructions when refactoring (#369)
gptel-transient.el (gptel--rewrite-message): Change order of
instructions in the default rewrite message to make it easier to
edit.
---
gptel-transient.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gptel-transient.el b/gptel-transient.el
index 845e343ae9..272ed0368d 100644
--- a/gptel-transient.el
+++ b/gptel-transient.el
@@ -100,7 +100,7 @@ Or is it the other way around?"
(defun gptel--rewrite-message ()
"Set a generic refactor/rewrite message for the buffer."
(if (derived-mode-p 'prog-mode)
- (format "You are a %s programmer. Refactor the following code. Generate
only code, no explanation, no code fences."
+ (format "You are a %s programmer. Generate only code, no explanation, no
code fences. Refactor the following code."
(gptel--strip-mode-suffix major-mode))
(format "You are a prose editor. Rewrite the following text to be more
professional.")))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/gptel fea2879287: gpte-transient: Change order of instructions when refactoring (#369),
ELPA Syncer <=