diff --git a/steward/bot/telegram.py b/steward/bot/telegram.py index fe73549..8c1e072 100644 --- a/steward/bot/telegram.py +++ b/steward/bot/telegram.py @@ -202,7 +202,7 @@ async def flush_handler(update: Update, context: ContextTypes.DEFAULT_TYPE) -> N f"Summary to tag:\n\n{summary_text}", system_prompt=_TAGS_SYSTEM_PROMPT, ) - tags = [t.strip().lower() for t in tags_raw.split(",") if t.strip()][:10] + tags = [t.strip().lower() for t in tags_raw.split(",") if t.strip()][:8] message_count = sum(1 for m in history if m["role"] == "user") thread_summary = ThreadSummary(