Move chat participant detection to private.d.ts (#239754)

This commit is contained in:
Rob Lourens
2025-02-05 17:34:43 -08:00
committed by GitHub
parent b96caf191e
commit 4aa863ca56
3 changed files with 20 additions and 18 deletions

View File

@@ -1454,7 +1454,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return extHostChatAgents2.createDynamicChatAgent(extension, id, dynamicProps, handler);
},
registerChatParticipantDetectionProvider(provider: vscode.ChatParticipantDetectionProvider) {
checkProposedApiEnabled(extension, 'chatParticipantAdditions');
checkProposedApiEnabled(extension, 'chatParticipantPrivate');
return extHostChatAgents2.registerChatParticipantDetectionProvider(extension, provider);
},
registerRelatedFilesProvider(provider: vscode.ChatRelatedFilesProvider, metadata: vscode.ChatRelatedFilesProviderMetadata) {