Skip to content

Commit

Permalink
Update Summarize the thread so far.js (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz0floyd authored Nov 4, 2024
1 parent 3e5eb0e commit daf1418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Parsers/Summarize the thread so far.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit daf1418

Please sign in to comment.