From 1b96d4ee4cadf05163d653373423a615723240aa Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 14 Nov 2024 21:54:44 +0800 Subject: feat: add `LLM_OUTPUT=/dev/stdout` to all tools/agents bashscripts (#123) --- tools/send_mail.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tools/send_mail.sh') diff --git a/tools/send_mail.sh b/tools/send_mail.sh index a09ee98..bcf7e95 100755 --- a/tools/send_mail.sh +++ b/tools/send_mail.sh @@ -2,13 +2,15 @@ set -e # @describe Send a email. +# @option --recipient! The recipient of the email. +# @option --subject! The subject of the email. +# @option --body! The body of the email. + # @env EMAIL_SMTP_ADDR! The SMTP Address, e.g. smtps://smtp.gmail.com:465 # @env EMAIL_SMTP_USER! The SMTP User, e.g. alice@gmail.com # @env EMAIL_SMTP_PASS! The SMTP Password # @env EMAIL_SENDER_NAME The sender name -# @option --recipient! The recipient of the email. -# @option --subject! The subject of the email. -# @option --body! The body of the email. +# @env LLM_OUTPUT=/dev/stdout The output path main() { sender_name="${EMAIL_SENDER_NAME:-$(echo "$EMAIL_SMTP_USER" | awk -F'@' '{print $1}')}" -- cgit v1.2.3