Skip to content

Commit 5d458f8

Browse files
authored
fix: clear response failed context key when chat editing session is disposed (#233138)
1 parent e0355db commit 5d458f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingService.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export class ChatEditingService extends Disposable implements IChatEditingServic
137137
}));
138138
this._register(this._chatService.onDidDisposeSession((e) => {
139139
if (e.reason === 'cleared' && this._currentSessionObs.get()?.chatSessionId === e.sessionId) {
140+
this._applyingChatEditsFailedContextKey.set(false);
140141
void this._currentSessionObs.get()?.stop();
141142
}
142143
}));

0 commit comments

Comments
 (0)