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

Function chunkText

deployments/desktop/static/desktop.js:4493–4501  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

4491 }
4492 }
4493
4494 async function refreshWiki() {
4495 const data = await api("/api/wiki/refresh", {
4496 method: "POST",
4497 timeoutMs: API_TIMEOUT_LONG_MS,
4498 body: JSON.stringify({ user_id: currentUser() })
4499 });
4500 await loadWiki();
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 = [

Callers 1

streamAnswerTextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected