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

Function saveSummary

packages/node-runtime/src/services/summary-service.ts:37–39  ·  view source on GitHub ↗
(segmentId, summary)

Source from the content-addressed store, hash-verified

35 return data.messages.map((m) => ({ senderName: m.senderName, content: m.content }))
36 },
37 saveSummary(segmentId, summary) {
38 saveSegmentSummary(db, segmentId, summary)
39 },
40 getSummary(segmentId) {
41 return getSegmentSummary(db, segmentId)
42 },

Callers

nothing calls this directly

Calls 1

saveSegmentSummaryFunction · 0.90

Tested by

no test coverage detected