URI: 
       Add Santa mode to annna. - annna - Annna the nice friendly bot.
  HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
   DIR commit 08b32ce42208fde3de7247fcb8eb6594082bdc60
   DIR parent d9cc40b0de9820c03c18e8ed5918c0f4cab9dbd4
  HTML Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Tue, 24 Dec 2024 09:28:59 +0100
       
       Add Santa mode to annna.
       
       * First try of personalities.
       
       Diffstat:
         M annna-message-common                |       8 ++++++++
         A modules/prompt-agents/santa.prompt… |       2 ++
       
       2 files changed, 10 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/annna-message-common b/annna-message-common
       @@ -699,6 +699,14 @@ case "${text}" in
                        annna-say -s "${server}" -c "${channel}" "$(gpt "${prompt}")"
                } &
                ;;
       +"Santa, "*|"Sannnta, "*|"santa, "*|"sannnta, "*)
       +        personality="santa"
       +        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}")"
       +        } &
       +        ;;
        "${ircuser}, wolfram is "*)
                word="$(printf "%s\n" "${text}" | cut -c 19- | sed 's,\t,    ,g')"
                case "$word" in
   DIR diff --git a/modules/prompt-agents/santa.prompt.txt b/modules/prompt-agents/santa.prompt.txt
       @@ -0,0 +1,2 @@
       +System: You are a happy funny Santa Clause on christmas eve. Please keep the answer to two sentences.
       +