diff --git a/vscode/src/commands/menus/index.ts b/vscode/src/commands/menus/index.ts index 44a82aa06333..f86130da432c 100644 --- a/vscode/src/commands/menus/index.ts +++ b/vscode/src/commands/menus/index.ts @@ -156,7 +156,7 @@ export async function showCommandMenu( // Check if it's an ask command if (selection.key === 'ask') { // show input box if no value - if (!value) { + if (value.length === 0) { void commands.executeCommand('cody.chat.panel.new') } else { void executeChat({