Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76bf558

Browse files
improv: do not unnecessarily retry
1 parent 1566adc commit 76bf558

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

extensions/vscode/src/commands.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,10 +472,12 @@ const getCommandsMap: (
472472
const historyLength = await sidebar.webviewProtocol.request(
473473
"getWebviewHistoryLength",
474474
undefined,
475+
false,
475476
);
476477
const isContinueInputFocused = await sidebar.webviewProtocol.request(
477478
"isContinueInputFocused",
478479
undefined,
480+
false,
479481
);
480482

481483
if (isContinueInputFocused) {
@@ -485,13 +487,15 @@ const getCommandsMap: (
485487
void sidebar.webviewProtocol?.request(
486488
"focusContinueInputWithNewSession",
487489
undefined,
490+
false,
488491
);
489492
}
490493
} else {
491494
focusGUI();
492495
sidebar.webviewProtocol?.request(
493496
"focusContinueInputWithNewSession",
494497
undefined,
498+
false,
495499
);
496500
void addHighlightedCodeToContext(sidebar.webviewProtocol);
497501
}

0 commit comments

Comments
 (0)