File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/vs/workbench/contrib/terminalContrib/chat/browser Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -237,8 +237,8 @@ export class TerminalChatController extends Disposable implements ITerminalContr
237
237
this . _model . value ?. cancelRequest ( this . _currentRequest ) ;
238
238
}
239
239
this . _model . clear ( ) ;
240
- this . _chatWidget ?. value . hide ( ) ;
241
- this . _chatWidget ?. value . setValue ( undefined ) ;
240
+ this . _chatWidget ?. rawValue ? .hide ( ) ;
241
+ this . _chatWidget ?. rawValue ? .setValue ( undefined ) ;
242
242
this . _responseContainsCodeBlockContextKey . reset ( ) ;
243
243
this . _sessionResponseVoteContextKey . reset ( ) ;
244
244
this . _requestActiveContextKey . reset ( ) ;
@@ -389,7 +389,7 @@ export class TerminalChatController extends Disposable implements ITerminalContr
389
389
} else if ( ! model ) {
390
390
widget . focusInput ( ) ;
391
391
}
392
- this . _chatWidget ?. value . hide ( ) ;
392
+ this . _chatWidget ?. rawValue ? .hide ( ) ;
393
393
}
394
394
}
395
395
You can’t perform that action at this time.
0 commit comments