@@ -315,23 +315,6 @@ export async function displaySvgDecoration(
315315 isInlineEdit : true ,
316316 }
317317 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 )
335318 } ,
336319 ( ) => {
337320 // Handle reject
@@ -349,21 +332,6 @@ export async function displaySvgDecoration(
349332 isInlineEdit : true ,
350333 }
351334 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 )
367335 } ,
368336 originalCode ,
369337 newCode ,
0 commit comments