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

Function addSummaryMessage

apps/desktop/main/ai/chats.ts:143–149  ·  view source on GitHub ↗
(
  aiChatId: string,
  content: string,
  meta: { bufferBoundaryTimestamp: number; compressedMessageCount: number }
)

Source from the content-addressed store, hash-verified

141}
142
143export function addSummaryMessage(
144 aiChatId: string,
145 content: string,
146 meta: { bufferBoundaryTimestamp: number; compressedMessageCount: number }
147) {
148 return getManager().addSummaryMessage(aiChatId, content, meta)
149}
150
151export function getLatestSummary(aiChatId: string) {
152 return getManager().getLatestSummary(aiChatId)

Callers

nothing calls this directly

Calls 2

addSummaryMessageMethod · 0.80
getManagerFunction · 0.70

Tested by

no test coverage detected