From daf1418980d23a8bd5d8032222961a82d76c86e6 Mon Sep 17 00:00:00 2001 From: wiz0floyd Date: Mon, 4 Nov 2024 12:09:06 -0500 Subject: [PATCH] Update Summarize the thread so far.js (#462) --- Parsers/Summarize the thread so far.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parsers/Summarize the thread so far.js b/Parsers/Summarize the thread so far.js index 249d0b8..be32666 100644 --- a/Parsers/Summarize the thread so far.js +++ b/Parsers/Summarize the thread so far.js @@ -91,6 +91,6 @@ flags:gmi var show_tokens = false; var token_cost = show_tokens ? "> tokens: " + chatResponseBody.usage.total_tokens + " ($" + (parseInt(chatResponseBody.usage.total_tokens) * 0.000002).toFixed(6) + ")\n" : ""; - var intro = thread_ts ? "> This thread so far:\n" : "> Last 30 minutes summarized:\n"; + var intro = thread_ts ? "> This thread so far:\n" : "> Last 60 minutes summarized:\n"; new x_snc_slackerbot.Slacker().send_chat(current, intro + token_cost + "\n" + chatResponseBody.choices[0].message.content, false); })(current);