diff --git a/src/components/image-editor/EditorAgentConversation/EditorAgentConversationPanelView.tsx b/src/components/image-editor/EditorAgentConversation/EditorAgentConversationPanelView.tsx index 155589f32..ec5cbed8b 100644 --- a/src/components/image-editor/EditorAgentConversation/EditorAgentConversationPanelView.tsx +++ b/src/components/image-editor/EditorAgentConversation/EditorAgentConversationPanelView.tsx @@ -315,15 +315,7 @@ export function EditorAgentConversationPanelView({ const currentConversationTitle = activeConversation?.title ?? '新对话'; const handleCreateConversation = () => { - void createConversation() - .then(() => { - setDraftText(''); - setAttachments([]); - setAttachmentError(null); - setDraftAttachmentKeys(new Set()); - setAttachmentPickerOpen(false); - }) - .catch(() => undefined); + void createConversation().catch(() => undefined); }; const openAttachmentPicker = () => {