Add comment to use prompt-agents infrastructure in the future. - 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 efcd795d1ed9c33eb40c95ee8937c768dcf7a0d5
DIR parent 17f97f1e6caf68ef0deecd513390205aaf9a68ea
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Fri, 11 Apr 2025 12:23:29 +0200
Add comment to use prompt-agents infrastructure in the future.
Diffstat:
M annna-message-common | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
DIR diff --git a/annna-message-common b/annna-message-common
@@ -759,18 +759,21 @@ case "${text}" in
fi
;;
"${ircuser}, gpt "*)
+ # TODO: use modules/prompt-agents
prompt="$(printf "%s\n" "${text}" | cut -c 12- | sed 's,\t, ,g')"
{
annna-say -s "${server}" -c "${channel}" "$(gpt "${prompt}")"
} &
;;
"${ircuser}, grumpy "*)
+ # TODO: use modules/prompt-agents
prompt="$(printf "%s\n" "${text}" | cut -c 15- | sed 's,\t, ,g')"
{
annna-say -s "${server}" -c "${channel}" "$(gpt-grumpy "${prompt}")"
} &
;;
"${ircuser}, uplifting "*)
+ # TODO: use modules/prompt-agents
prompt="$(printf "%s\n" "${text}" | cut -c 18- | sed 's,\t, ,g')"
{
annna-say -s "${server}" -c "${channel}" "$(gpt-uplifting "${prompt}")"