Add comment to use prompt-agents infrastructure in the future. - annna - Annna … | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit efcd795d1ed9c33eb40c95ee8937c768dcf7a0d5 | |
parent 17f97f1e6caf68ef0deecd513390205aaf9a68ea | |
Author: Annna Robert-Houdin <[email protected]> | |
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(-) | |
--- | |
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 "${prom… | |
} & | |
;; | |
"${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 "${p… |