From 76bf558ed722eb8b7cda2955fe67e304b6c7dda8 Mon Sep 17 00:00:00 2001 From: tomasz-io Date: Thu, 12 Dec 2024 10:14:47 -0800 Subject: [PATCH] improv: do not unnecessarily retry --- extensions/vscode/src/commands.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extensions/vscode/src/commands.ts b/extensions/vscode/src/commands.ts index 88e3abbb3..5f843153c 100644 --- a/extensions/vscode/src/commands.ts +++ b/extensions/vscode/src/commands.ts @@ -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); }