File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/vs/workbench/contrib/inlineChat/browser Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import { ISingleEditOperation } from 'vs/editor/common/core/editOperation';
27
27
import { raceCancellation } from 'vs/base/common/async' ;
28
28
import { LineRangeMapping } from 'vs/editor/common/diff/rangeMapping' ;
29
29
import { IMarkdownString } from 'vs/base/common/htmlContent' ;
30
+ import { IChatAccessibilityService } from 'vs/workbench/contrib/chat/browser/chat' ;
30
31
31
32
export type Recording = {
32
33
when : Date ;
@@ -407,6 +408,7 @@ export class InlineChatSessionService implements IInlineChatSessionService {
407
408
@IModelService private readonly _modelService : IModelService ,
408
409
@ITextModelService private readonly _textModelService : ITextModelService ,
409
410
@ILogService private readonly _logService : ILogService ,
411
+ @IChatAccessibilityService private readonly _chatAccessibilityService : IChatAccessibilityService ,
410
412
) { }
411
413
412
414
dispose ( ) {
@@ -485,7 +487,7 @@ export class InlineChatSessionService implements IInlineChatSessionService {
485
487
}
486
488
487
489
releaseSession ( session : Session ) : void {
488
-
490
+ this . _chatAccessibilityService . acceptResponse ( ) ;
489
491
const { editor } = session ;
490
492
491
493
// cleanup
You can’t perform that action at this time.
0 commit comments