Shorten output for gpt without explanation. - 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 037cbaf5424f62f3aae2d44886cd69c20d18c362
DIR parent 90c76d0dd565a712fb4be3e23921d5ed4ea19823
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sat, 19 Apr 2025 00:21:49 +0200
Shorten output for gpt without explanation.
Diffstat:
M annna-message-common | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/annna-message-common b/annna-message-common
@@ -767,7 +767,7 @@ case "${text}" in
# 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}")"
+ annna-say -s "${server}" -c "${channel}" "$(gpt "${prompt}. Please answer short and precise.")"
} &
;;
"${ircuser}, grumpy "*)