(plan: PlanContentBlock)
| 733 | } |
| 734 | |
| 735 | const appendPlanToBlocks = (plan: PlanContentBlock) => { |
| 736 | const idx = getAiMessageIndex() |
| 737 | const blocks = targetBuffer.messages[idx].contentBlocks || [] |
| 738 | updateAIMessage({ contentBlocks: [...replacePlanDraftWithPlan(blocks, plan)] }) |
| 739 | } |
| 740 | |
| 741 | const removePlanDraftsFromBlocks = () => { |
| 742 | const idx = getAiMessageIndex() |
no test coverage detected