@@ -283,23 +283,6 @@ export async function displaySvgDecoration(
283283 deletedCharacterCount : deletedCharacterCount ,
284284 }
285285 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 )
303286 } ,
304287 ( ) => {
305288 // Handle reject
@@ -318,21 +301,6 @@ export async function displaySvgDecoration(
318301 deletedCharacterCount : deletedCharacterCount ,
319302 }
320303 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 )
336304 } ,
337305 originalCode ,
338306 newCode
0 commit comments