mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-28 20:04:26 +00:00
fix(chatbot): clear attached assets on message send and remove drag-drop toast
This commit is contained in:
@@ -139,6 +139,7 @@ export const useChatbotStore = create<ChatbotState>((set) => ({
|
||||
set({
|
||||
messages: [...state.messages, optimisticMsg],
|
||||
isStreaming: true,
|
||||
chatAssets: [],
|
||||
})
|
||||
|
||||
const assetIds = state.chatAssets.map((a) => a.id)
|
||||
|
||||
Reference in New Issue
Block a user