Only mark text as short if QA enrichment is disabled

This commit is contained in:
2026-06-15 02:07:55 +02:00
parent 55a4e7ce28
commit 32112ddbb6

View File

@@ -659,7 +659,7 @@ def enrich_one(
include_qa = source_key in args.deep_source_paths
level = "deep" if include_qa else "standard"
is_short = len(base_text) < args.min_chars
is_short = len(base_text) < args.min_chars and not include_qa
sampled = base_text if len(base_text) <= args.max_text else head_mid_tail_sample(base_text, args.max_text)
target_lang = args.summary_lang
if target_lang == "auto":