()
| 739 | } |
| 740 | |
| 741 | const removePlanDraftsFromBlocks = () => { |
| 742 | const idx = getAiMessageIndex() |
| 743 | const blocks = targetBuffer.messages[idx].contentBlocks || [] |
| 744 | updateAIMessage({ contentBlocks: [...removePlanDraftBlocks(blocks)] }) |
| 745 | } |
| 746 | |
| 747 | const updatePlanBlockStatus = (status: PlanBlockStatus) => { |
| 748 | const idx = getAiMessageIndex() |
no test coverage detected