improv: do not unnecessarily retry
This commit is contained in:
parent
1566adcaeb
commit
76bf558ed7
1 changed files with 4 additions and 0 deletions
|
|
@ -472,10 +472,12 @@ const getCommandsMap: (
|
|||
const historyLength = await sidebar.webviewProtocol.request(
|
||||
"getWebviewHistoryLength",
|
||||
undefined,
|
||||
false,
|
||||
);
|
||||
const isContinueInputFocused = await sidebar.webviewProtocol.request(
|
||||
"isContinueInputFocused",
|
||||
undefined,
|
||||
false,
|
||||
);
|
||||
|
||||
if (isContinueInputFocused) {
|
||||
|
|
@ -485,6 +487,7 @@ const getCommandsMap: (
|
|||
void sidebar.webviewProtocol?.request(
|
||||
"focusContinueInputWithNewSession",
|
||||
undefined,
|
||||
false,
|
||||
);
|
||||
}
|
||||
} else {
|
||||
|
|
@ -492,6 +495,7 @@ const getCommandsMap: (
|
|||
sidebar.webviewProtocol?.request(
|
||||
"focusContinueInputWithNewSession",
|
||||
undefined,
|
||||
false,
|
||||
);
|
||||
void addHighlightedCodeToContext(sidebar.webviewProtocol);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue