Correctly pass user selected LM for intent detection (#230014) (#230028)

Fix #229616
This commit is contained in:
Rob Lourens
2024-09-27 16:18:40 -07:00
committed by GitHub
parent 6bbcad9bdd
commit ef69ffe1cb
2 changed files with 20 additions and 8 deletions

View File

@@ -1454,7 +1454,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
},
registerChatParticipantDetectionProvider(provider: vscode.ChatParticipantDetectionProvider) {
checkProposedApiEnabled(extension, 'chatParticipantAdditions');
return extHostChatAgents2.registerChatParticipantDetectionProvider(provider);
return extHostChatAgents2.registerChatParticipantDetectionProvider(extension, provider);
},
};