Merge branch 'main' into feat/image-select

This commit is contained in:
Ed McConnell
2024-12-14 09:56:29 -05:00
5 changed files with 64 additions and 5 deletions

View File

@@ -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);
}
}}