Skip to content

Commit 4e8d266

Browse files
authored
Add proper "when" clause for "Switch to next model" (#243104)
1 parent 0bec97c commit 4e8d266

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ export class SwitchToNextModelAction extends Action2 {
223223
keybinding: {
224224
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.Period,
225225
weight: KeybindingWeight.WorkbenchContrib,
226+
when: ChatContextKeys.inChatInput
226227
},
227228
menu: {
228229
id: MenuId.ChatExecute,

0 commit comments

Comments
 (0)