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

Function readArxivDirect

deployments/desktop/static/app.js:1096–1113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1094}
1095
1096async function readArxivDirect() {
1097 const userId = ensureUser();
1098 const arxivId = $("directArxivId").value.trim();
1099 if (!arxivId) throw new Error("请输入 arXiv ID 或链接。");
1100 setStatus("生成 arXiv 精读报告", true);
1101 const data = await api("/api/read/arxiv", {
1102 method: "POST",
1103 body: JSON.stringify({
1104 user_id: userId,
1105 arxiv_id: arxivId,
1106 write_feishu: isChecked("directWriteFeishu"),
1107 }),
1108 });
1109 $("directReportResults").classList.remove("hidden");
1110 renderReportList("directReportList", data);
1111 await Promise.allSettled([refreshDashboard(), refreshWikiStats()]);
1112 setStatus("精读报告已生成");
1113}
1114
1115async function readPdfDirect() {
1116 const userId = ensureUser();

Callers

nothing calls this directly

Calls 8

ensureUserFunction · 0.85
isCheckedFunction · 0.85
refreshDashboardFunction · 0.85
refreshWikiStatsFunction · 0.85
$Function · 0.70
setStatusFunction · 0.70
apiFunction · 0.70
renderReportListFunction · 0.70

Tested by

no test coverage detected