File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
src/components/MessageInput Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 145145 "emoji-mart" : " ^5.4.0" ,
146146 "react" : " ^18.0.0 || ^17.0.0 || ^16.8.0" ,
147147 "react-dom" : " ^18.0.0 || ^17.0.0 || ^16.8.0" ,
148- "stream-chat" : " ^8.45 .0"
148+ "stream-chat" : " ^8.46 .0"
149149 },
150150 "peerDependenciesMeta" : {
151151 "@breezystack/lamejs" : {
Original file line number Diff line number Diff line change @@ -81,9 +81,7 @@ export const MessageInputFlat = <
8181
8282 const { aiState } = useAIState ( channel ) ;
8383
84- const stopGenerating = useCallback ( ( ) => channel ?. sendEvent ( { type : 'ai_indicator.stop' } ) , [
85- channel ,
86- ] ) ;
84+ const stopGenerating = useCallback ( ( ) => channel ?. stopAIResponse ( ) , [ channel ] ) ;
8785
8886 const [
8987 showRecordingPermissionDeniedNotification ,
You can’t perform that action at this time.
0 commit comments