Remove 'session' from transfer API (#209204)

This commit is contained in:
Rob Lourens
2024-03-31 16:39:41 -03:00
committed by GitHub
parent 904d030824
commit 5bb0f37c27
5 changed files with 17 additions and 20 deletions

View File

@@ -1405,9 +1405,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
checkProposedApiEnabled(extension, 'interactive');
return extHostChat.registerChatProvider(extension, id, provider);
},
transferChatSession(session: vscode.InteractiveSession, toWorkspace: vscode.Uri) {
transferActiveChat(toWorkspace: vscode.Uri) {
checkProposedApiEnabled(extension, 'interactive');
return extHostChat.transferChatSession(session, toWorkspace);
return extHostChat.transferActiveChat(toWorkspace);
}
};