@@ -283,23 +283,6 @@ export async function displaySvgDecoration(
283
283
deletedCharacterCount : deletedCharacterCount ,
284
284
}
285
285
languageClient . sendNotification ( 'aws/logInlineCompletionSessionResults' , params )
286
- decorationManager . dispose ( )
287
- const params : LogInlineCompletionSessionResultsParams = {
288
- sessionId : session . sessionId ,
289
- completionSessionResult : {
290
- [ item . itemId ] : {
291
- seen : true ,
292
- accepted : true ,
293
- discarded : false ,
294
- } ,
295
- } ,
296
- totalSessionDisplayTime : Date . now ( ) - session . requestStartTime ,
297
- firstCompletionDisplayLatency : session . firstCompletionDisplayLatency ,
298
- // TODO: Update LogInlineCompletionSessionResultsParams interface to include these properties
299
- // addedCharacterCount: addedCharacterCount,
300
- // deletedCharacterCount: deletedCharacterCount,
301
- }
302
- languageClient . sendNotification ( 'aws/logInlineCompletionSessionResults' , params )
303
286
} ,
304
287
( ) => {
305
288
// Handle reject
@@ -318,21 +301,6 @@ export async function displaySvgDecoration(
318
301
deletedCharacterCount : deletedCharacterCount ,
319
302
}
320
303
languageClient . sendNotification ( 'aws/logInlineCompletionSessionResults' , params )
321
- decorationManager . dispose ( )
322
- const params : LogInlineCompletionSessionResultsParams = {
323
- sessionId : session . sessionId ,
324
- completionSessionResult : {
325
- [ item . itemId ] : {
326
- seen : true ,
327
- accepted : false ,
328
- discarded : false ,
329
- } ,
330
- } ,
331
- // TODO: Update LogInlineCompletionSessionResultsParams interface to include these properties
332
- // addedCharacterCount: addedCharacterCount,
333
- // deletedCharacterCount: deletedCharacterCount,
334
- }
335
- languageClient . sendNotification ( 'aws/logInlineCompletionSessionResults' , params )
336
304
} ,
337
305
originalCode ,
338
306
newCode
0 commit comments