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

Function buildTimeFilterKey

src/stores/aiChat.ts:209–212  ·  view source on GitHub ↗
(timeFilter?: { startTs: number; endTs: number })

Source from the content-addressed store, hash-verified

207}
208
209function buildTimeFilterKey(timeFilter?: { startTs: number; endTs: number }): string {
210 if (!timeFilter) return 'all'
211 return `${timeFilter.startTs}_${timeFilter.endTs}`
212}
213
214export function buildAIChatKey(params: {
215 sessionId: string

Callers 1

buildAIChatKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected