From 03db4c80964d23c26dd18165ac0650d8f849c9b7 Mon Sep 17 00:00:00 2001 From: Biki Kalita <86558912+Biki-dev@users.noreply.github.com> Date: Mon, 8 Dec 2025 06:14:10 +0530 Subject: [PATCH] fix(diagram): save history snapshot after edit_diagram tool execution (#155) --- components/chat-panel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/chat-panel.tsx b/components/chat-panel.tsx index 7b0e35b..fdaa198 100644 --- a/components/chat-panel.tsx +++ b/components/chat-panel.tsx @@ -229,7 +229,7 @@ Please fix the edit to avoid structural issues (e.g., duplicate IDs, invalid ref }) return } - + onExport() addToolOutput({ tool: "edit_diagram", toolCallId: toolCall.toolCallId,