Skip to content

Commit 3ddd374

Browse files
authored
1 parent de685c9 commit 3ddd374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export class ChatSubmitAction extends SubmitAction {
179179
id: MenuId.ChatExecuteSecondary,
180180
group: 'group_1',
181181
order: 1,
182-
when: precondition
182+
when: ContextKeyExpr.and(precondition, ChatContextKeys.lockedToCodingAgent.negate()),
183183
},
184184
{
185185
id: MenuId.ChatExecute,

0 commit comments

Comments
 (0)