[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ellama d24d1d6a08 1/4: Fix code templates
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ellama d24d1d6a08 1/4: Fix code templates |
Date: |
Mon, 8 Jul 2024 18:58:33 -0400 (EDT) |
branch: externals/ellama
commit d24d1d6a08fc8817f16f623483c037bdb5570030
Author: Sergey Kostyaev <sskostyaev@gmail.com>
Commit: Sergey Kostyaev <sskostyaev@gmail.com>
Fix code templates
Fixes #129
---
ellama.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ellama.el b/ellama.el
index ded33cf648..8e1fbf504f 100644
--- a/ellama.el
+++ b/ellama.el
@@ -246,22 +246,22 @@ PROMPT is a prompt string."
:group 'ellama
:type 'string)
-(defcustom ellama-code-edit-prompt-template "Regarding the following code, %s,
only output the result code in format ```language\n...\n```:\n```\n%s\n```"
+(defcustom ellama-code-edit-prompt-template "Regarding the following code, %s,
only output the result code in format
```language\n...\n```:\n```\n%s\n```\nWrite all the code in single code block."
"Prompt template for `ellama-code-edit'."
:group 'ellama
:type 'string)
-(defcustom ellama-code-improve-prompt-template "Enhance the following code,
only output the result code in format ```language\n...\n```:\n```\n%s\n```"
+(defcustom ellama-code-improve-prompt-template "Enhance the following code,
only output the result code in format
```language\n...\n```:\n```\n%s\n```\nWrite all the code in single code block."
"Prompt template for `ellama-code-improve'."
:group 'ellama
:type 'string)
-(defcustom ellama-code-complete-prompt-template "Continue the following code,
only write new code in format ```language\n...\n```:\n```\n%s\n```"
+(defcustom ellama-code-complete-prompt-template "Continue the following code,
only write new code in format ```language\n...\n```:\n```\n%s\n```\nWrite all
the code in single code block."
"Prompt template for `ellama-code-complete'."
:group 'ellama
:type 'string)
-(defcustom ellama-code-add-prompt-template "Context: \n```\n%s\n```\nBased on
this context, %s, only output the result in format ```\n...\n```"
+(defcustom ellama-code-add-prompt-template "Context: \n```\n%s\n```\nBased on
this context, %s, only output the result in format ```\n...\n```\nWrite all the
code in single code block."
"Prompt template for `ellama-code-add'."
:group 'ellama
:type 'string)