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

Function appendEvidenceToBlocks

src/stores/aiChat.ts:721–726  ·  view source on GitHub ↗
(evidence: ChatEvidencePayload)

Source from the content-addressed store, hash-verified

719 }
720
721 const appendEvidenceToBlocks = (evidence: ChatEvidencePayload) => {
722 const idx = getAiMessageIndex()
723 const blocks = targetBuffer.messages[idx].contentBlocks || []
724 blocks.push(toEvidenceContentBlock(evidence))
725 updateAIMessage({ contentBlocks: [...blocks] })
726 }
727
728 const appendPlanDraftToBlocks = (delta: string) => {
729 if (!delta) return

Callers 2

sendMessageFunction · 0.85
editCurrentRoundOnlyFunction · 0.85

Calls 2

toEvidenceContentBlockFunction · 0.90
updateAIMessageFunction · 0.85

Tested by

no test coverage detected