@assistant-ui/react 0.5.29 → 0.5.30
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -1577,6 +1577,7 @@ var ComposerPrimitiveInput = _react.forwardRef.call(void 0,
|
|
1577
1577
|
});
|
1578
1578
|
const handleKeyPress = (e) => {
|
1579
1579
|
if (isDisabled) return;
|
1580
|
+
if (e.nativeEvent.isComposing) return;
|
1580
1581
|
if (e.key === "Enter" && e.shiftKey === false) {
|
1581
1582
|
const { isRunning } = useThread.getState();
|
1582
1583
|
if (!isRunning) {
|