We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b70bda commit 9d2d734Copy full SHA for 9d2d734
src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingService.ts
@@ -162,7 +162,7 @@ export class ChatEditingService extends Disposable implements IChatEditingServic
162
void this._editingSessionFileLimitPromise;
163
164
const sessionIdToRestore = storageService.get(STORAGE_KEY_EDITING_SESSION, StorageScope.WORKSPACE);
165
- if (isString(sessionIdToRestore)) {
+ if (isString(sessionIdToRestore) && this._chatService.getOrRestoreSession(sessionIdToRestore)) {
166
this._restoringEditingSession = this.startOrContinueEditingSession(sessionIdToRestore);
167
this._restoringEditingSession.finally(() => {
168
this._restoringEditingSession = undefined;
0 commit comments