Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/vs/workbench/contrib/chat/common/model/chatModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1425,6 +1425,10 @@ export class ChatResponseModel extends Disposable implements IChatResponseModel
super.dispose();
// Break back-reference to ChatModel to prevent retention cycles
this._session = undefined!;
this._response.clear();
Comment thread
roblourens marked this conversation as resolved.
if (this._codeBlockInfos) {
this._codeBlockInfos.length = 0;
}
Comment thread
roblourens marked this conversation as resolved.
}

toJSON(): ISerializableChatResponseData {
Expand Down
Loading