MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / getDisplayedBufferKey

Function getDisplayedBufferKey

src/stores/aiChat.ts:310–312  ·  view source on GitHub ↗
(state: AIChatSessionState)

Source from the content-addressed store, hash-verified

308}
309
310function getDisplayedBufferKey(state: AIChatSessionState): string {
311 return state.currentAIChatId ?? DRAFT_AI_CHAT_KEY
312}
313
314export const useAIChatStore = defineStore('aiChatRuntime', () => {
315 const sessionStates = ref<Record<string, AIChatSessionState>>({})

Callers 3

sendMessageFunction · 0.85
stopGenerationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected