Merge branch 'main' into feat/image-select
This commit is contained in:
@@ -436,12 +436,15 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
||||
}
|
||||
|
||||
event.preventDefault();
|
||||
|
||||
|
||||
if (isStreaming) {
|
||||
handleStop?.();
|
||||
return;
|
||||
}
|
||||
|
||||
// ignore if using input method engine
|
||||
if (event.nativeEvent.isComposing) {
|
||||
return
|
||||
}
|
||||
handleSendMessage?.(event);
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user