Add Deep Research extraction controls

This commit is contained in:
pewdiepie-archdaemon
2026-06-01 14:55:24 +09:00
parent 6872679f31
commit b998c52dd0
8 changed files with 165 additions and 6 deletions
+4
View File
@@ -1551,6 +1551,8 @@ class TaskScheduler:
pass
max_tokens = int(get_setting("research_max_tokens", 8192))
extraction_timeout = int(get_setting("research_extraction_timeout_seconds", 90) or 90)
extraction_concurrency = int(get_setting("research_extraction_concurrency", 3) or 3)
researcher = DeepResearcher(
llm_endpoint=endpoint_url,
@@ -1559,6 +1561,8 @@ class TaskScheduler:
max_rounds=8,
max_time=600, # 10 min for scheduled research
max_report_tokens=max_tokens,
extraction_timeout=extraction_timeout,
extraction_concurrency=extraction_concurrency,
)
started_ts = time.time()