mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 15:55:59 +01:00
Add skill provider API (#287948)
This commit is contained in:
@@ -1558,6 +1558,10 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
checkProposedApiEnabled(extension, 'chatPromptFiles');
|
||||
return extHostChatAgents2.registerPromptFileProvider(extension, PromptsType.prompt, provider);
|
||||
},
|
||||
registerSkillProvider(provider: vscode.SkillProvider): vscode.Disposable {
|
||||
checkProposedApiEnabled(extension, 'chatPromptFiles');
|
||||
return extHostChatAgents2.registerPromptFileProvider(extension, PromptsType.skill, provider);
|
||||
},
|
||||
};
|
||||
|
||||
// namespace: lm
|
||||
@@ -1963,6 +1967,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
CustomAgentChatResource: extHostTypes.CustomAgentChatResource,
|
||||
InstructionsChatResource: extHostTypes.InstructionsChatResource,
|
||||
PromptFileChatResource: extHostTypes.PromptFileChatResource,
|
||||
SkillChatResource: extHostTypes.SkillChatResource,
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user