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

Function envMap

deployments/desktop/static/desktop.js:4792–4801  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

4790 target.innerHTML = ui().chat.historyUnavailable;
4791 }
4792
4793 async function loadChatSessions(options = {}) {
4794 let data;
4795 try {
4796 data = await api(`/api/chat/sessions?user_id=${encodeURIComponent(currentUser())}&days=90&limit=120`);
4797 } catch (error) {
4798 if (isUnknownApiRoute(error, "/api/chat/sessions")) {
4799 renderChatHistoryUnavailable();
4800 return;
4801 }
4802 throw error;
4803 }
4804 state.chatHistoryLoaded = true;

Callers 2

applyLocaleFunction · 0.85
renderSettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected