Get rid of "GitHub Copilot" header and add a participant "fullName"

This commit is contained in:
Rob Lourens
2024-05-09 16:05:08 -07:00
parent 3b81dc9a05
commit d1555a7b21
18 changed files with 71 additions and 142 deletions

View File

@@ -1420,9 +1420,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
checkProposedApiEnabled(extension, 'chatParticipant');
return extHostChatAgents2.createChatAgent(extension, id, handler);
},
createDynamicChatParticipant(id: string, name: string, publisherName: string, description: string, handler: vscode.ChatExtendedRequestHandler): vscode.ChatParticipant {
createDynamicChatParticipant(id: string, dynamicProps: vscode.DynamicChatParticipantProps, handler: vscode.ChatExtendedRequestHandler): vscode.ChatParticipant {
checkProposedApiEnabled(extension, 'chatParticipantAdditions');
return extHostChatAgents2.createDynamicChatAgent(extension, id, name, publisherName, description, handler);
return extHostChatAgents2.createDynamicChatAgent(extension, id, dynamicProps, handler);
}
};