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

Function resetChatThread

deployments/desktop/static/desktop.js:4272–4279  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4270 }
4271
4272 function resetChatThread() {
4273 state.chatMessages = [];
4274 $("chatThread").innerHTML = chatIntroHtml();
4275 renderChatSources();
4276 window.setTimeout(() => {
4277 $("chatThread").scrollTop = $("chatThread").scrollHeight;
4278 }, 0);
4279 }
4280
4281 function formatChatDateLabel(dateValue) {
4282 const date = String(dateValue || "").slice(0, 10);

Callers 5

applyLocaleFunction · 0.85
renderChatMessagesFunction · 0.85
loadChatSessionsFunction · 0.85
clearChatHistoryFunction · 0.85
startNewChatFunction · 0.85

Calls 3

chatIntroHtmlFunction · 0.85
renderChatSourcesFunction · 0.85
$Function · 0.70

Tested by

no test coverage detected