session-blurb: shorten blurb length caps
Assisted-by: Claude Sonnet 5 via Claude Code
change wvunpwrulruprrunrprtlosvspytxuno
commit 0ccfb31dcf83be610d741b21974dc8eb2a89163d
author Alpha Chen <alpha@kejadlen.dev>
date
parent nnxulslr
diff --git a/ai/pi/extensions/session-blurb.ts b/ai/pi/extensions/session-blurb.ts
index 74355ead..fbacd107 100644
--- a/ai/pi/extensions/session-blurb.ts
+++ b/ai/pi/extensions/session-blurb.ts
@@ -18,8 +18,8 @@ import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-age
 
 const MODEL_PROVIDER = "anthropic";
 const MODEL_ID = "claude-haiku-4-5";
-const MAX_WORDS = 6;
-const MAX_CHARS = 40;
+const MAX_WORDS = 4;
+const MAX_CHARS = 28;
 // Cap how much transcript we send to the summarizer. The tail carries the
 // most relevant "what's happening now" signal, so we keep the last N chars.
 const MAX_TRANSCRIPT_CHARS = 6000;