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

Function envInfo

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

Source from the content-addressed store, hash-verified

4801 }
4802 throw error;
4803 }
4804 state.chatHistoryLoaded = true;
4805 renderChatHistory(data);
4806 if (options.openLatest && !state.chatSessionId) {
4807 const latest = state.chatHistory[0];
4808 if (latest?.session_id) {
4809 await loadChatSession(latest.session_id);
4810 } else {
4811 resetChatThread();
4812 }
4813 }
4814 }
4815
4816 async function loadChatSession(sessionId) {
4817 const normalizedSessionId = String(sessionId || "").trim();
4818 if (!normalizedSessionId) {
4819 startNewChat({ silent: true });
4820 return;

Callers 4

setEnvFieldValueFunction · 0.85
updateSourceAuthStatusFunction · 0.85
envRowFunction · 0.85
renderSettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected