Better system prompting for santa too. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 8ed5b38529f7a75eb8d28567d7cd995480740ee6
(DIR) parent 8b2c0e7e35b5bf12e5e90ecb6996193d95e70e88
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Tue, 24 Dec 2024 10:05:49 +0100
Better system prompting for santa too.
Diffstat:
M annna-message-common | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -704,7 +704,7 @@ case "${text}" in
preprompt="$(cat ${modbase}/prompt-agents/${personality}.prompt.txt)"
prompt="$(printf "%s\n" "${text}" | cut -d' ' -f 2- | sed 's,\t, ,g')"
{
- annna-say -s "${server}" -c "${channel}" "$(gpt "${preprompt}\n${prompt}")"
+ annna-say -s "${server}" -c "${channel}" "$(gpt "System:${preprompt}\nUser:${prompt}\nBot:")"
} &
;;
"Satan, "*|"Satannn, "*|"satan, "*|"satannn, "*)