fix: diagram history

This commit is contained in:
dayuan.jiang
2025-03-23 14:22:40 +00:00
parent 6819a92921
commit cc5c06de2e
3 changed files with 111 additions and 14 deletions

View File

@@ -99,9 +99,6 @@ export default function ChatPanel({
experimental_attachments: files,
});
// Add current diagram to history after submission
onAddToHistory();
// Clear files after submission
setFiles(undefined);
} catch (error) {