Skip to content

Commit af10aa2

Browse files
committed
fix: experiment
1 parent 2accbd5 commit af10aa2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -246,12 +246,12 @@ export class RecommendationService {
246246
if (result.partialResultToken) {
247247
if (!isInlineEdit) {
248248
// If the suggestion is COMPLETIONS and there are more results to fetch, handle them in the background
249-
getLogger().info(
250-
'Suggestion type is COMPLETIONS. Start fetching for more items if partialResultToken exists.'
251-
)
252-
this.processRemainingRequests(languageClient, request, result, token).catch((error) => {
253-
languageClient.warn(`Error when getting suggestions: ${error}`)
254-
})
249+
// getLogger().info(
250+
// 'Suggestion type is COMPLETIONS. Start fetching for more items if partialResultToken exists.'
251+
// )
252+
// this.processRemainingRequests(languageClient, request, result, token).catch((error) => {
253+
// languageClient.warn(`Error when getting suggestions: ${error}`)
254+
// })
255255
} else {
256256
// Skip fetching for more items if the suggesion is EDITS. If it is EDITS suggestion, only fetching for more
257257
// suggestions when the user start to accept a suggesion.
@@ -283,7 +283,7 @@ export class RecommendationService {
283283
}
284284
}
285285

286-
private async processRemainingRequests(
286+
async processRemainingRequests(
287287
languageClient: LanguageClient,
288288
initialRequest: InlineCompletionWithReferencesParams,
289289
firstResult: InlineCompletionListWithReferences,

0 commit comments

Comments
 (0)