feat: chat participation detection api (#224651)

* feat: chat participation detection api
This commit is contained in:
Joyce Er
2024-08-02 16:35:14 -07:00
committed by GitHub
parent 161ef6b4c0
commit d4c164e7b8
7 changed files with 189 additions and 33 deletions

View File

@@ -1519,6 +1519,10 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
checkProposedApiEnabled(extension, 'chatParticipantPrivate');
return extHostChatAgents2.createDynamicChatAgent(extension, id, dynamicProps, handler);
},
registerChatParticipantDetectionProvider(provider: vscode.ChatParticipantDetectionProvider) {
checkProposedApiEnabled(extension, 'chatParticipantAdditions');
return extHostChatAgents2.registerChatParticipantDetectionProvider(provider);
},
};
// namespace: lm