MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / handleDone

Function handleDone

web/js/chat.js:372–382  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

370}
371
372function handleDone() {
373 let fullText = "";
374 if (currentAssistantMsg) {
375 const blocks = currentAssistantMsg.querySelectorAll(".text-block");
376 blocks.forEach((b) => {
377 fullText += b.dataset.mdContent + "\n";
378 });
379 }
380 chatHistory.push({ role: "assistant", content: fullText });
381 enableInput();
382}
383
384function showLoadingIndicator() {
385 if (!currentAssistantMsg) return;

Callers 1

getOrCreateWsFunction · 0.85

Calls 1

enableInputFunction · 0.85

Tested by

no test coverage detected