@myun/gimi-chat 0.6.6 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -115,7 +115,7 @@ var CommonChat = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
115
115
|
inputValue: inputValueRef.current,
|
|
116
116
|
searchCourses: searchCourses
|
|
117
117
|
};
|
|
118
|
-
}, [containerRef, platform, stopTTSByText, isPlaying, agentId, props]);
|
|
118
|
+
}, [containerRef, platform, stopTTSByText, isPlaying, agentId, props, searchCourses]);
|
|
119
119
|
var _useCommonChatAPI = useCommonChatAPI(hookParams),
|
|
120
120
|
headerValue = _useCommonChatAPI.headerValue,
|
|
121
121
|
msgLoading = _useCommonChatAPI.msgLoading,
|
|
@@ -202,7 +202,7 @@ var CommonChat = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
204
204
|
handleSend(val, agent, isSystemAuto);
|
|
205
|
-
}, [handleSend, startConversationAndChat]);
|
|
205
|
+
}, [handleSend, startConversationAndChat, setSearchedCourseList]);
|
|
206
206
|
|
|
207
207
|
// 输入框开头Agent名称
|
|
208
208
|
var showTitleSlot = React.useMemo(function () {
|