ed-mcconnell commited on
Commit
4db9169
·
1 Parent(s): 7a31db9

merge main

Browse files
app/commit.json CHANGED
@@ -1 +1 @@
1
- { "commit": "6ffcdd8b3c54e2560b327ca1b4f4eb33ba54c0db" }
 
1
+ { "commit": "7a31db904d19e75a68d6a6db8f72fe7949a6f19b" }
app/components/chat/BaseChat.tsx CHANGED
@@ -436,15 +436,17 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
436
  }
437
 
438
  event.preventDefault();
439
-
440
  if (isStreaming) {
441
  handleStop?.();
442
  return;
443
  }
 
444
  // ignore if using input method engine
445
  if (event.nativeEvent.isComposing) {
446
- return
447
  }
 
448
  handleSendMessage?.(event);
449
  }
450
  }}
 
436
  }
437
 
438
  event.preventDefault();
439
+
440
  if (isStreaming) {
441
  handleStop?.();
442
  return;
443
  }
444
+
445
  // ignore if using input method engine
446
  if (event.nativeEvent.isComposing) {
447
+ return;
448
  }
449
+
450
  handleSendMessage?.(event);
451
  }
452
  }}
app/lib/stores/workbench.ts CHANGED
@@ -297,7 +297,6 @@ export class WorkbenchStore {
297
 
298
  const action = artifact.runner.actions.get()[data.actionId];
299
 
300
-
301
  if (!action || action.executed) {
302
  return;
303
  }
 
297
 
298
  const action = artifact.runner.actions.get()[data.actionId];
299
 
 
300
  if (!action || action.executed) {
301
  return;
302
  }