(report: Dict[str, Any])
| 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 | |
| 2888 | def _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"], |
no outgoing calls
no test coverage detected