File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
packages/core/src/codewhispererChat/controllers/chat/messenger Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff 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' ) ,
You can’t perform that action at this time.
0 commit comments