Skip to content

Commit

Permalink
Revive serialized chat data when restoring session (#213915)
Browse files Browse the repository at this point in the history
fixes #213914
  • Loading branch information
jrieken authored May 30, 2024
1 parent 7ed5156 commit 0b0ad6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/chat/common/chatServiceImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ export class ChatService extends Disposable implements IChatService {
return model;
}

const sessionData = this._persistedSessions[sessionId];
const sessionData = revive<ISerializableChatData>(this._persistedSessions[sessionId]);
if (!sessionData) {
return undefined;
}
Expand Down

0 comments on commit 0b0ad6a

Please sign in to comment.