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

Method getMessages

packages/node-runtime/src/ai/chats.ts:646–648  ·  view source on GitHub ↗
(aiChatId: string)

Source from the content-addressed store, hash-verified

644 }
645
646 getMessages(aiChatId: string): AIMessage[] {
647 return this.getActivePathRows(aiChatId).map((row) => this.parseMessageRow(row))
648 }
649
650 deleteMessage(messageId: string): boolean {
651 const db = this.getDb()

Callers

nothing calls this directly

Calls 2

getActivePathRowsMethod · 0.95
parseMessageRowMethod · 0.95

Tested by

no test coverage detected