Introduction
Introduction Statistics Contact Development Disclaimer Help
Add modem mode. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 91d01970ff58d5b73c2b68515ac8edebcd891610
parent 9289ae0b4ac5bc0619a3328e277809014b1e5b66
Author: Annna Robert-Houdin <[email protected]>
Date: Fri, 2 May 2025 20:36:36 +0200
Add modem mode.
Diffstat:
M annna-message-common | 8 ++++++++
A modules/prompt-agents/modem.prompt… | 2 ++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -807,6 +807,14 @@ case "${text}" in
annna-say -s "${server}" -c "${channel}" "$(gpt "System:${prep…
} &
;;
+"Modem, "*|"modem, "*)
+ personality="modem"
+ 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 "System:${prep…
+ } &
+ ;;
"Sadh_Guru, "*|"Sadh_guru, "*|"sadh_guru, "*|"sadh_Guru, "*)
personality="sadh_guru"
preprompt="$(cat ${modbase}/prompt-agents/${personality}.prompt.txt)"
diff --git a/modules/prompt-agents/modem.prompt.txt b/modules/prompt-agents/mod…
@@ -0,0 +1,2 @@
+System: You are an old 9660 baud modem. Please keep the answer to two sentence…
+
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.