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 feishu_warning = (
2877 "未拿到飞书文档链接,已保留本地 Markdown。"
2878 "请检查飞书环境变量和 lark-cli 登录状态。"
2879 )
2880 return {
2881 "created_docs": created_docs,
2882 "count": len(created_docs),
2883 "write_feishu_requested": write_feishu_requested,
2884 "feishu_warning": feishu_warning,
2885 }
2886
2887
2888def _report_summary_payload(report: Dict[str, Any]) -> Dict[str, Any]:
2889 return {
2890 "report_id": report["report_id"],
2891 "title": report["title"],
2892 "user_id": report["user_id"],
2893 "paper_id": report["paper_id"],
2894 "arxiv_id": report["arxiv_id"],
2895 "saved_at": report["saved_at"],
2896 "updated_at": report["updated_at"],
2897 "report_path": report["report_path"],
2898 "doc_url": report["doc_url"],
2899 "doc_token": report["doc_token"],

Callers 2

list_reportsFunction · 0.85
get_report_contentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected