Skip to content

Commit 5a07878

Browse files
committed
Comment out shell execution reject button
1 parent 5f8d9e5 commit 5a07878

File tree

1 file changed

+8
-6
lines changed
  • packages/core/src/codewhispererChat/controllers/chat/messenger

1 file changed

+8
-6
lines changed

packages/core/src/codewhispererChat/controllers/chat/messenger/messenger.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -575,12 +575,14 @@ export class Messenger {
575575
if (toolUse?.name === ToolType.ExecuteBash && message.startsWith('```shell')) {
576576
if (validation.requiresAcceptance) {
577577
const buttons: ChatItemButton[] = [
578-
{
579-
id: 'reject-shell-command',
580-
text: localize('AWS.amazonq.executeBash.reject', 'Reject'),
581-
status: 'clear',
582-
icon: 'cancel' as MynahIconsType,
583-
},
578+
// Comment out the reject button for now for the internal release
579+
// TODO: based on the feedback, we can decide to add it back or remove it.
580+
// {
581+
// id: 'reject-shell-command',
582+
// text: localize('AWS.amazonq.executeBash.reject', 'Reject'),
583+
// status: 'clear',
584+
// icon: 'cancel' as MynahIconsType,
585+
// },
584586
{
585587
id: 'run-shell-command',
586588
text: localize('AWS.amazonq.executeBash.run', 'Run'),

0 commit comments

Comments
 (0)