(charts: ChartPayload[])
| 711 | } |
| 712 | |
| 713 | const appendChartsToBlocks = (charts: ChartPayload[]) => { |
| 714 | if (charts.length === 0) return |
| 715 | const idx = getAiMessageIndex() |
| 716 | const blocks = targetBuffer.messages[idx].contentBlocks || [] |
| 717 | blocks.push(...toChartContentBlocks(charts)) |
| 718 | updateAIMessage({ contentBlocks: [...blocks] }) |
| 719 | } |
| 720 | |
| 721 | const appendEvidenceToBlocks = (evidence: ChatEvidencePayload) => { |
| 722 | const idx = getAiMessageIndex() |
no test coverage detected