301f24c6e4
Labor-law caselaw uploads (4 DOCX, 2026-04-28) timed out at exactly 90s, landing in awaiting_review with empty ai_suggestions. A live retry of the same payload through ai-gateway returned valid metadata in 91.8s — one second over the cap. PDF caselaw can be larger (20K-char cap vs DOCX 6K) and ai-gateway's serialized OAuth session lengthens the tail under batch load, so 180s would not be enough headroom either. 240s keeps the call fail-soft (user can still fill metadata manually) but covers realistic Hebrew legal documents. Override via KB_CLASSIFIER_TIMEOUT_S.