File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/workbench/contrib/terminalContrib/chat/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,15 +135,15 @@ export class TerminalChatController extends Disposable implements ITerminalContr
135
135
// This is glue/debt that's needed while ChatModel isn't yet adopted. The chat model uses
136
136
// a default chat model (unless configured) and feedback is reported against that one. This
137
137
// code forwards the feedback to an actual registered provider
138
- this . _chatService . onDidPerformUserAction ( e => {
138
+ this . _register ( this . _chatService . onDidPerformUserAction ( e => {
139
139
if ( e . providerId === this . _chatWidget ?. rawValue ?. inlineChatWidget . getChatModel ( ) . providerId ) {
140
140
if ( e . action . kind === 'bug' ) {
141
141
this . acceptFeedback ( undefined ) ;
142
142
} else if ( e . action . kind === 'vote' ) {
143
143
this . acceptFeedback ( e . action . direction === InteractiveSessionVoteDirection . Up ) ;
144
144
}
145
145
}
146
- } ) ;
146
+ } ) ) ;
147
147
}
148
148
149
149
private initTerminalAgent ( ) : boolean {
You can’t perform that action at this time.
0 commit comments