@@ -315,23 +315,6 @@ export async function displaySvgDecoration(
315
315
isInlineEdit : true ,
316
316
}
317
317
languageClient . sendNotification ( 'aws/logInlineCompletionSessionResults' , params )
318
- decorationManager . dispose ( )
319
- const params : LogInlineCompletionSessionResultsParams = {
320
- sessionId : session . sessionId ,
321
- completionSessionResult : {
322
- [ item . itemId ] : {
323
- seen : true ,
324
- accepted : true ,
325
- discarded : false ,
326
- } ,
327
- } ,
328
- totalSessionDisplayTime : Date . now ( ) - session . requestStartTime ,
329
- firstCompletionDisplayLatency : session . firstCompletionDisplayLatency ,
330
- // TODO: Update LogInlineCompletionSessionResultsParams interface to include these properties
331
- // addedCharacterCount: addedCharacterCount,
332
- // deletedCharacterCount: deletedCharacterCount,
333
- }
334
- languageClient . sendNotification ( 'aws/logInlineCompletionSessionResults' , params )
335
318
} ,
336
319
( ) => {
337
320
// Handle reject
@@ -349,21 +332,6 @@ export async function displaySvgDecoration(
349
332
isInlineEdit : true ,
350
333
}
351
334
languageClient . sendNotification ( 'aws/logInlineCompletionSessionResults' , params )
352
- decorationManager . dispose ( )
353
- const params : LogInlineCompletionSessionResultsParams = {
354
- sessionId : session . sessionId ,
355
- completionSessionResult : {
356
- [ item . itemId ] : {
357
- seen : true ,
358
- accepted : false ,
359
- discarded : false ,
360
- } ,
361
- } ,
362
- // TODO: Update LogInlineCompletionSessionResultsParams interface to include these properties
363
- // addedCharacterCount: addedCharacterCount,
364
- // deletedCharacterCount: deletedCharacterCount,
365
- }
366
- languageClient . sendNotification ( 'aws/logInlineCompletionSessionResults' , params )
367
335
} ,
368
336
originalCode ,
369
337
newCode ,
0 commit comments