Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed McConnell committed Dec 14, 2024
1 parent 7a31db9 commit 4db9169
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/commit.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "commit": "6ffcdd8b3c54e2560b327ca1b4f4eb33ba54c0db" }
{ "commit": "7a31db904d19e75a68d6a6db8f72fe7949a6f19b" }
6 changes: 4 additions & 2 deletions app/components/chat/BaseChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}}
Expand Down
1 change: 0 additions & 1 deletion app/lib/stores/workbench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ export class WorkbenchStore {

const action = artifact.runner.actions.get()[data.actionId];


if (!action || action.executed) {
return;
}
Expand Down

0 comments on commit 4db9169

Please sign in to comment.