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

Function finishWikiGraphDrag

deployments/desktop/static/desktop.js:5652–5661  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

5650 const fallbackModel = envInfo(env, "PAPERFLOW_FALLBACK_LLM_MODEL", "GPT-4o");
5651 if ($("maxConcurrencyInput")) $("maxConcurrencyInput").value = concurrency.value || "5";
5652 if ($("fallbackModelInput")) $("fallbackModelInput").value = fallbackModel.value || "GPT-4o";
5653 const sourcePrefs = data.source_preferences || {};
5654 const reportPrefs = data.report_preferences || {};
5655 const advanced = data.advanced || {};
5656 $("settingEnableArxiv").checked = sourcePrefs.enable_arxiv !== false;
5657 $("settingEnableSemanticScholar").checked = sourcePrefs.enable_semantic_scholar !== false;
5658 $("settingEnableOpenReview").checked = sourcePrefs.enable_openreview !== false;
5659 $("settingEnableCustomRss").checked = Boolean(sourcePrefs.enable_custom_rss);
5660 renderSettingTags("settingArxivCategories", sourcePrefs.arxiv_categories || ["cs.CL", "cs.AI", "cs.IR", "cs.LG"]);
5661 setConferenceAccessMode(sourcePrefs.conference_access_mode || "public");
5662 setEnvFieldValue("semanticScholarApiKey", env, "SEMANTIC_SCHOLAR_API_KEY");
5663 setEnvFieldValue("openReviewUsername", env, "OPENREVIEW_USERNAME");
5664 setEnvFieldValue("openReviewToken", env, "OPENREVIEW_TOKEN");

Callers

nothing calls this directly

Calls 1

$Function · 0.70

Tested by

no test coverage detected