From 26417d22daf1cef06b4eac01018848664c8cbf10 Mon Sep 17 00:00:00 2001 From: Fork Less Date: Wed, 17 Jun 2026 02:02:46 +0200 Subject: [PATCH] strengthen brevity instruction with IMPORTANT/no exceptions framing --- server/hooks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/hooks.go b/server/hooks.go index ebf78c5..da5cf54 100644 --- a/server/hooks.go +++ b/server/hooks.go @@ -219,7 +219,7 @@ func (p *Plugin) MessageHasBeenPosted(c *plugin.Context, post *model.Post) { if personaDesc != "" { systemPrompt = "You are " + personaDesc + ". Respond in character. Only respond to the latest message — do not re-address earlier messages. Vary your openings and phrasing each time." if cfg.Brevity != "" && cfg.Brevity != "0" { - systemPrompt = "Reply in " + cfg.Brevity + " sentences or fewer. " + systemPrompt + systemPrompt = "IMPORTANT: Reply in " + cfg.Brevity + " sentences or fewer — no exceptions. " + systemPrompt } messages = append([]ChatMessage{{ Role: "system",