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

Function streamAnswerText

deployments/desktop/static/desktop.js:4503–4512  ·  view source on GitHub ↗
(target, text, citations)

Source from the content-addressed store, hash-verified

4501 const daily = data.daily_notes || {};
4502 const noteCount = Array.isArray(daily.daily_notes) ? daily.daily_notes.length : 0;
4503 const errorCount = Array.isArray(daily.errors) ? daily.errors.length : 0;
4504 const detail = [
4505 ui().wiki.refreshDetail(daily, noteCount)
4506 ].join(" · ");
4507 showFeedbackToast(
4508 errorCount ? "warning" : "success",
4509 errorCount ? ui().wiki.refreshPartial : ui().wiki.refreshDone,
4510 errorCount ? `${detail} · ${daily.errors[0]}` : detail
4511 );
4512 }
4513
4514 function githubSyncSummary(data) {
4515 const labels = ui().wiki.githubSync;

Callers 1

askWikiFunction · 0.85

Calls 3

chunkTextFunction · 0.85
$Function · 0.70

Tested by

no test coverage detected