From aa38345587ca4c90bc7d0b2e7f8d1c7274c82d66 Mon Sep 17 00:00:00 2001 From: TBS093A Date: Tue, 20 May 2025 18:21:38 +0200 Subject: [PATCH] feat(telegram): - - --- src/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers.py b/src/handlers.py index 5b968b4..6613d93 100644 --- a/src/handlers.py +++ b/src/handlers.py @@ -169,7 +169,7 @@ async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE): saved = await save_video_summary(url, title, transcript, combined_summary) # Wyślij końcowe streszczenie niezależnie od ilości fragmentów - if len(chunks) > 3: + if len(chunks) > 1: final_text = f"*Ostateczne streszczenie filmu:*\n*{title}*\n\n{combined_summary}" else: # Dla krótszych filmów po prostu wyślij streszczenie