We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4125134 commit 33524c0Copy full SHA for 33524c0
server/aws-lsp-codewhisperer/src/shared/codeWhispererService.ts
@@ -267,6 +267,11 @@ export class CodeWhispererServiceToken extends CodeWhispererServiceBase {
267
responseContext,
268
}
269
270
+
271
+ for (const recommendation of apiResponse?.completions ?? []) {
272
+ Object.assign(recommendation, { itemId: this.generateItemId() })
273
+ }
274
275
return {
276
suggestions: apiResponse.completions as Suggestion[],
277
suggestionType: SuggestionType.COMPLETION,
0 commit comments