feat: harden article summary timeout and fallback

This commit is contained in:
root
2026-04-07 21:08:06 +08:00
parent 2df0af5b82
commit 87d18e4263
4 changed files with 46 additions and 14 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ def generate_article_summaries(
selected_ids: list[str],
output_dir: str | None = None,
max_retries: int = 2,
timeout_seconds: float = 60.0,
timeout_seconds: float = 120.0,
llm_api_key: str | None = None,
llm_model: str | None = None,
llm_api_url: str | None = None,