fix simple snapshot init & auto excute when change app (#3293)
This commit is contained in:
@@ -845,7 +845,15 @@ const ChatBox = ({
|
||||
hideInUI: true
|
||||
});
|
||||
}
|
||||
}, [isReady, chatStarted, autoExecute?.open, chatRecords, isChatRecordsLoaded]);
|
||||
}, [
|
||||
chatStarted,
|
||||
chatRecords,
|
||||
isChatRecordsLoaded,
|
||||
sendPrompt,
|
||||
isReady,
|
||||
autoExecute.open,
|
||||
autoExecute.defaultPrompt
|
||||
]);
|
||||
|
||||
// output data
|
||||
useImperativeHandle(ChatBoxRef, () => ({
|
||||
|
||||
Reference in New Issue
Block a user