[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ellama 4b0b770903 2/4: Fix rename template
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ellama 4b0b770903 2/4: Fix rename template |
Date: |
Mon, 8 Jul 2024 18:58:33 -0400 (EDT) |
branch: externals/ellama
commit 4b0b7709033b449ce7ca53c70fe0fc21d1442bc8
Author: Sergey Kostyaev <sskostyaev@gmail.com>
Commit: Sergey Kostyaev <sskostyaev@gmail.com>
Fix rename template
Previous template was ok for simple prompts, but fails for compex prompts.
---
ellama.el | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/ellama.el b/ellama.el
index 8e1fbf504f..9b2195d4db 100644
--- a/ellama.el
+++ b/ellama.el
@@ -282,12 +282,15 @@ PROMPT is a prompt string."
:type 'string)
(defcustom ellama-get-name-template "I will get you user query, you should
return short topic only, what this conversation about. NEVER respond to query
itself. Topic must be short and concise.
-For example:
+<example>
Query: Why is sky blue?
Topic: Blue sky
-
-Query: %s
-Topic:"
+</example>
+<query>
+%s
+</query>
+Topic:
+"
"Prompt template for `ellama-get-name'."
:group 'ellama
:type 'string)