diff --git a/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.ts b/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.ts index f21d2cf5970ed..4901f3645544b 100644 --- a/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.ts +++ b/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.ts @@ -419,6 +419,8 @@ export class OpenModelPickerAction extends Action2 { group: 'navigation', when: ContextKeyExpr.and( + // Hide the model picker in the floating chat input window + ChatContextKeys.inChatInputWindow.negate(), // Hide the model picker while a delegation (continue in) target is pending ChatContextKeys.hasPendingDelegationTarget.negate(), ContextKeyExpr.or(