mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-16 09:45:24 -04:00
Add Deep Research extraction controls
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user