File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
src/vs/workbench/contrib/chat/browser/actions Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -520,13 +520,20 @@ export class CreateRemoteAgentJobAction extends Action2 {
520520 icon : Codicon . sync ,
521521 tooltip : localize ( 'remoteJobCreating' , "Delegating to Coding Agent" ) ,
522522 } ,
523- menu : {
524- id : MenuId . ChatExecute ,
525- group : 'navigation' ,
526- order : 3.4 ,
527- // TODO(jospicer): or hasChatSessionContributions
528- when : ContextKeyExpr . and ( ChatContextKeys . hasRemoteCodingAgent , ChatContextKeys . lockedToCodingAgent . negate ( ) ) ,
529- }
523+ menu : [
524+ {
525+ id : MenuId . ChatExecute ,
526+ group : 'navigation' ,
527+ order : 3.4 ,
528+ when : ContextKeyExpr . and ( ChatContextKeys . hasRemoteCodingAgent , ChatContextKeys . lockedToCodingAgent . negate ( ) ) ,
529+ } ,
530+ {
531+ id : MenuId . ChatExecuteSecondary ,
532+ group : 'group_3' ,
533+ order : 1 ,
534+ when : ContextKeyExpr . and ( ChatContextKeys . hasRemoteCodingAgent , ChatContextKeys . lockedToCodingAgent . negate ( ) ) ,
535+ }
536+ ]
530537 } ) ;
531538 }
532539
You can’t perform that action at this time.
0 commit comments