Reshape chat session api

Name and shape cleanup
This commit is contained in:
Matt Bierner
2025-07-21 15:45:38 -07:00
parent 35476427c7
commit eb082b948b
3 changed files with 32 additions and 41 deletions

View File

@@ -1505,9 +1505,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
checkProposedApiEnabled(extension, 'chatParticipantPrivate');
return _asExtensionEvent(extHostChatAgents2.onDidDisposeChatSession)(listeners, thisArgs, disposables);
},
registerChatSessionsProvider(provider: vscode.ChatSessionsProvider) {
registerChatSessionItemProvider(chatSessionType: string, provider: vscode.ChatSessionItemProvider) {
checkProposedApiEnabled(extension, 'chatSessionsProvider');
return extHostChatSessions.registerChatSessionsProvider(provider);
return extHostChatSessions.registerChatSessionItemProvider(chatSessionType, provider);
},
};