Skip to content

Commit 8858218

Browse files
committed
clean
1 parent 0eb276a commit 8858218

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/store/chat/slices/aiChat/actions/generateAIChatV2.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export const generateAIChatV2: StateCreator<
122122
sessionId: activeId,
123123
topicId: data.topicId,
124124
});
125+
get().internal_dispatchMessage({ type: 'deleteMessage', id: tempId });
125126

126127
if (!activeTopicId) {
127128
await get().switchTopic(data.topicId!, true);

0 commit comments

Comments
 (0)