Skip to content

Commit 245033c

Browse files
Merge master into feature/model-selection
2 parents e662cb2 + 3c0a34b commit 245033c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/amazonq/src/app/inline/completion.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -300,12 +300,6 @@ export class AmazonQInlineCompletionItemProvider implements InlineCompletionItem
300300
options: JSON.stringify(getAllRecommendationsOptions),
301301
})
302302

303-
// prevent concurrent API calls and write to shared state variables
304-
if (vsCodeState.isRecommendationsActive) {
305-
getLogger().info('Recommendations already active, returning empty')
306-
return []
307-
}
308-
309303
if (vsCodeState.isCodeWhispererEditing) {
310304
getLogger().info('Q is editing, returning empty')
311305
return []

0 commit comments

Comments
 (0)