Skip to content

Commit

Permalink
PromptString: Fix new chat from cody command pallete (#3811)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-spiess authored Apr 16, 2024
1 parent 6bca1be commit acde6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode/src/commands/menus/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit acde6c8

Please sign in to comment.