MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / getSessionState

Function getSessionState

src/stores/aiChat.ts:353–355  ·  view source on GitHub ↗
(chatKey: string)

Source from the content-addressed store, hash-verified

351 }
352
353 function getSessionState(chatKey: string): AIChatSessionState | null {
354 return sessionStates.value[chatKey] ?? null
355 }
356
357 function getActiveTaskState(): AIChatSessionState | null {
358 if (!activeTask.value) return null

Callers 12

getActiveTaskStateFunction · 0.85
ensureOwnerInfoFunction · 0.85
setActiveTaskMetaFunction · 0.85
loadAIChatFunction · 0.85
focusAIChatFunction · 0.85
resetToSelectorOnEnterFunction · 0.85
startNewAIChatFunction · 0.85
sendMessageFunction · 0.85
editMessageAndRegenerateFunction · 0.85
stopGenerationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected