From ef757cedbfc2bf2c99f67461fc8007cb2a102b83 Mon Sep 17 00:00:00 2001 From: git Date: Wed, 27 Aug 2025 11:42:40 +0100 Subject: [PATCH] In the notifications, delete the quotes. The LLM is producing way to many quotes. --- src/mail-route | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mail-route b/src/mail-route index d09c2fe..8a27669 100755 --- a/src/mail-route +++ b/src/mail-route @@ -15,7 +15,7 @@ $bin_name = array_shift($argv); $score = floatval(trim(file_get_contents(array_shift($argv)))); -$message = implode("\n",array_map(fn($o)=>trim(file_get_contents($o)),$argv)); +$message = implode("\n",array_map(fn($o)=>trim(str_replace('"','',file_get_contents($o))),$argv)); $telegram_bot_token = getenv()["TELEGRAM_BOT_TOKEN"] ?? ""; $telegram_chat_id = getenv()["TELEGRAM_CHAT_ID"] ?? "";