MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _report_summary_payload

Function _report_summary_payload

deployments/desktop/shared/agents.py:2878–2896  ·  view source on GitHub ↗
(report: Dict[str, Any])

Source from the content-addressed store, hash-verified

2876 continue
2877 try:
2878 _write_reading_placeholder(
2879 user_id=user_id,
2880 paper=paper,
2881 report_path=report_path,
2882 status="running",
2883 steps=running_steps,
2884 response_language=response_language,
2885 )
2886 except Exception:
2887 pass
2888
2889 with _READING_TASK_LOCK:
2890 task = _READING_TASKS.get(task_id)
2891 if task:
2892 task["progress_phase"] = "reading"
2893 task["current_index"] = len(selected_numbers)
2894 task["updated_at"] = _task_timestamp()
2895
2896 # 2) 一次性批量生成,交给 reading-agent 内置的并发(PAPERFLOW_READING_REPORT_CONCURRENCY /
2897 # PAPERFLOW_MAX_CONCURRENCY,默认 3)同时精读多篇论文,而不是一篇一篇地串行处理。
2898 result_docs: List[Dict[str, Any]] = []
2899 batch_error: Optional[str] = None

Callers 2

list_reportsFunction · 0.85
get_report_contentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected