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

Function pairLabel

deployments/desktop/static/desktop.js:4940–4944  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

4938 let doneReceived = false;
4939
4940 const processFrame = (frame) => {
4941 if (!frame.trim()) return;
4942 const parsed = parseSseFrame(frame);
4943 if (!parsed) return;
4944 if (parsed.event === "error") throw new Error(parsed.data.error || ui().chat.streamFailed);
4945 if (parsed.event === "status" && !text) {
4946 answerTarget.innerHTML = `<p>${escapeHtml(parsed.data.text || ui().chat.generating)}</p>`;
4947 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected