Remove obsolete api _version number (#225541)

This commit is contained in:
Rob Lourens
2024-08-13 16:19:58 -07:00
committed by GitHub
parent 4713458c2d
commit a9046c89b4
3 changed files with 0 additions and 16 deletions

View File

@@ -1464,8 +1464,6 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
// namespace: interactive
const interactive: typeof vscode.interactive = {
// TODO Can be deleted after another Insiders
_version: 1,
transferActiveChat(toWorkspace: vscode.Uri) {
checkProposedApiEnabled(extension, 'interactive');
return extHostChatAgents2.transferActiveChat(toWorkspace);
@@ -1490,10 +1488,6 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
// namespace: chat
const chat: typeof vscode.chat = {
// IMPORTANT
// this needs to be updated whenever the API proposal changes and breaks backwards compatibility
_version: 1,
registerChatResponseProvider(id: string, provider: vscode.ChatResponseProvider, metadata: vscode.ChatResponseProviderMetadata) {
checkProposedApiEnabled(extension, 'chatProvider');
return extHostLanguageModels.registerLanguageModel(extension, id, provider, metadata);