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

Function envRow

deployments/desktop/static/desktop.js:4890–4901  ·  view source on GitHub ↗
(env, key, label, fallback = "", aliases = [])

Source from the content-addressed store, hash-verified

4888 await searchWiki();
4889 }
4890
4891 function chunkText(text) {
4892 const content = String(text || "");
4893 if (!content) return [""];
4894 const chunks = [];
4895 for (let index = 0; index < content.length; index += 12) {
4896 chunks.push(content.slice(index, index + 12));
4897 }
4898 return chunks;
4899 }
4900
4901 async function streamAnswerText(target, text, citations) {
4902 target.classList.remove("loading");
4903 let partial = "";
4904 for (const chunk of chunkText(text)) {

Callers 1

renderSettingsFunction · 0.85

Calls 3

envInfoFunction · 0.85
uiFunction · 0.85
escapeHtmlFunction · 0.70

Tested by

no test coverage detected