From 91af4f1e831bc0fdbcf9802664370ec1531ebc39 Mon Sep 17 00:00:00 2001 From: prosolis <5590409+prosolis@users.noreply.github.com> Date: Sun, 26 Apr 2026 10:09:32 -0700 Subject: [PATCH] Thanks, Ollama. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace flat 'LLM might be offline' error strings in vibe and howami with the deadpan 'Thanks, Ollama.' callback. Skipped tarot — its 'union-mandated vacation' line was already the right register and shouldn't be displaced. Co-Authored-By: Claude Opus 4.7 (1M context) --- internal/plugin/howami.go | 2 +- internal/plugin/vibe.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/plugin/howami.go b/internal/plugin/howami.go index cc03bf0..85c14f7 100644 --- a/internal/plugin/howami.go +++ b/internal/plugin/howami.go @@ -87,7 +87,7 @@ Write the roast now. Do not include any preamble or explanation, just the roast response, err := callOllama(ollamaHost, ollamaModel, prompt) if err != nil { slog.Error("howami: ollama call", "err", err) - p.SendReply(ctx.RoomID, ctx.EventID, "Failed to generate profile. LLM might be offline.") + p.SendReply(ctx.RoomID, ctx.EventID, "Couldn't generate the profile. Thanks, Ollama.") return } diff --git a/internal/plugin/vibe.go b/internal/plugin/vibe.go index 938e83a..50a5307 100644 --- a/internal/plugin/vibe.go +++ b/internal/plugin/vibe.go @@ -158,7 +158,7 @@ Describe the room's current vibe:`, botName, transcript) if err != nil { slog.Error("vibe: ollama call", "err", err) p.resetCooldown(ctx.RoomID) // Don't consume cooldown on failure - return p.SendReply(ctx.RoomID, ctx.EventID, "Failed to read the vibe. LLM might be offline.") + return p.SendReply(ctx.RoomID, ctx.EventID, "Failed to read the vibe. Thanks, Ollama.") } return p.SendMessage(ctx.RoomID, response) @@ -203,7 +203,7 @@ Summary:`, tldrBotName, transcript) if err != nil { slog.Error("vibe: ollama call", "err", err) p.resetCooldown(ctx.RoomID) // Don't consume cooldown on failure - return p.SendReply(ctx.RoomID, ctx.EventID, "Failed to summarize. LLM might be offline.") + return p.SendReply(ctx.RoomID, ctx.EventID, "Couldn't summarize. Thanks, Ollama.") } return p.SendMessage(ctx.RoomID, response)