MCPcopy Index your code
hub / github.com/dataease/SQLBot / toChatRecordList

Function toChatRecordList

frontend/src/api/chat.ts:291–300  ·  view source on GitHub ↗
(list: any = [])

Source from the content-addressed store, hash-verified

289 )
290}
291const toChatRecordList = (list: any = []): ChatRecord[] => {
292 const records: Array<ChatRecord> = []
293 for (let i = 0; i < list.length; i++) {
294 const record = toChatRecord(list[i])
295 if (record) {
296 records.push(record)
297 }
298 }
299 return records
300}
301
302export class ChatLogHistoryItem {
303 start_time?: Date | string

Callers 1

chat.tsFile · 0.85

Calls 2

toChatRecordFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected