File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -391,6 +391,9 @@ export class AmazonQInlineCompletionItemProvider implements InlineCompletionItem
391391 }
392392 this . languageClient . sendNotification ( this . logSessionResultMessageName , params )
393393 this . sessionManager . clear ( )
394+ // Do not make auto trigger if user rejects a suggestion
395+ // by typing characters that does not match
396+ return [ ]
394397 }
395398
396399 // tell the tutorial that completions has been triggered
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ _get_ssm_session_info_async() {
4646 # Generate unique temporary file name to avoid conflicts
4747 local temp_file=" /tmp/ssm_session_response_$$ _$( date +%s%N) .json"
4848
49- local max_retries=60
49+ local max_retries=8
5050 local retry_interval=5
5151 local attempt=1
5252
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ function Get-SSMSessionInfoAsync {
5454 $url = " http://localhost:$LocalEndpointPort /get_session_async?connection_identifier=$AwsResourceArn &credentials_type=$CredentialsType &request_id=$requestId "
5555 Write-Host " Calling Get-SSMSessionInfoAsync with URL: $url "
5656
57- $maxRetries = 60
57+ $maxRetries = 8
5858 $retryInterval = 5
5959
6060 for ($attempt = 1 ; $attempt -le $maxRetries ; $attempt ++ ) {
You can’t perform that action at this time.
0 commit comments