merge main

This commit is contained in:
Ed McConnell
2024-12-14 09:56:51 -05:00
parent 7a31db904d
commit 4db916928c
3 changed files with 5 additions and 4 deletions

View File

@@ -436,15 +436,17 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
}
event.preventDefault();
if (isStreaming) {
handleStop?.();
return;
}
// ignore if using input method engine
if (event.nativeEvent.isComposing) {
return
return;
}
handleSendMessage?.(event);
}
}}