From 9f1d6643192f4dca64823e981c6b588796515558 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Fri, 26 Jun 2026 07:02:08 +0300 Subject: [PATCH] Capitalize thinking-notice flavor messages and bump 1.24.0 release date MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "thinking…" presets started with a lowercase letter, which reads oddly as a standalone message. Capitalize the first word of each literal-led line; lines that open with {{ baibot_name }} are untouched. Also bump the 1.24.0 CHANGELOG date to the actual release date. Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 2 +- src/strings/thinking.rs | 34 +++++++++++++++++----------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index afdcfaa..1fa58b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# (2026-06-25) Version 1.24.0 +# (2026-06-26) Version 1.24.0 - (**Feature**) Add an opt-in 💭 **thinking notice** for text generation. When enabled, a slow response (for example, from a reasoning model that runs for minutes) posts a "thinking…" placeholder after a short delay, refreshes it periodically with varying flavor text, and then edits that same message into the final answer, so a long wait no longer looks like a stuck bot. The notice is **disabled by default** and configurable per-room or globally via `text-generation set-thinking-notice-enabled true`. Fast responses (under the delay threshold) never show a placeholder. See the [text-generation configuration docs](./docs/configuration/text-generation.md#-thinking-notice). diff --git a/src/strings/thinking.rs b/src/strings/thinking.rs index bdfeeae..9be6649 100644 --- a/src/strings/thinking.rs +++ b/src/strings/thinking.rs @@ -10,42 +10,42 @@ const TIER_DEEP_AFTER: Duration = Duration::from_secs(90); const MESSAGES_LIGHT: &[&str] = &[ "*{{ baibot_name }} is thinking…*", "*{{ baibot_name }} is mulling that over…*", - "*hmm, let me think about that…*", + "*Hmm, let me think about that…*", "*{{ baibot_name }} is gathering some thoughts…*", - "*one moment, {{ baibot_name }} is working on it…*", + "*One moment, {{ baibot_name }} is working on it…*", "*{{ baibot_name }} is putting the pieces together…*", - "*give {{ baibot_name }} a second here…*", - "*let me think this one through…*", + "*Give {{ baibot_name }} a second here…*", + "*Let me think this one through…*", "*{{ baibot_name }} is warming up the gears…*", "*{{ baibot_name }} is on it…*", ]; /// Mid flavor: this is a real question and the model is genuinely working. const MESSAGES_MEDIUM: &[&str] = &[ - "*huh, good one. {{ baibot_name }} is really thinking now…*", - "*still working on it, {{ baibot_name }} wants to get this right…*", - "*this one needs a bit more thought…*", + "*Huh, good one. {{ baibot_name }} is really thinking now…*", + "*Still working on it, {{ baibot_name }} wants to get this right…*", + "*This one needs a bit more thought…*", "*{{ baibot_name }} is digging into this…*", - "*hang tight, {{ baibot_name }} is turning it over…*", - "*not a quick one, this. {{ baibot_name }} is still at it…*", + "*Hang tight, {{ baibot_name }} is turning it over…*", + "*Not a quick one, this. {{ baibot_name }} is still at it…*", "*{{ baibot_name }} is chewing on this properly now…*", - "*this deserves some real thought, bear with {{ baibot_name }}…*", + "*This deserves some real thought, bear with {{ baibot_name }}…*", "*{{ baibot_name }} is working through the details…*", - "*won't be long, {{ baibot_name }} is closing in on it…*", + "*Won't be long, {{ baibot_name }} is closing in on it…*", ]; /// Deep flavor: a long-running generation (e.g. a reasoning model going for minutes). const MESSAGES_DEEP: &[&str] = &[ - "*okay, this is a hard one. {{ baibot_name }} is really deep in thought…*", + "*Okay, this is a hard one. {{ baibot_name }} is really deep in thought…*", "*{{ baibot_name }} is in the weeds on this one, thanks for your patience…*", - "*still here, still thinking. {{ baibot_name }} doesn't want to rush it…*", - "*a proper puzzle, this. {{ baibot_name }} is taking the time to do it justice…*", + "*Still here, still thinking. {{ baibot_name }} doesn't want to rush it…*", + "*A proper puzzle, this. {{ baibot_name }} is taking the time to do it justice…*", "*{{ baibot_name }} is really wrestling with this one…*", - "*a meaty question. {{ baibot_name }} is still turning it over…*", + "*A meaty question. {{ baibot_name }} is still turning it over…*", "*{{ baibot_name }} hasn't forgotten you, just thinking hard…*", - "*almost there, {{ baibot_name }} is pulling it all together…*", + "*Almost there, {{ baibot_name }} is pulling it all together…*", "*{{ baibot_name }} is going the extra mile on this one…*", - "*deep thoughts in progress. {{ baibot_name }} appreciates your patience…*", + "*Deep thoughts in progress. {{ baibot_name }} appreciates your patience…*", ]; /// Returns the flavor pool matching how long generation has been running.