mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 15:55:59 +01:00
Add support for GH Custom Agents (#278251)
This commit is contained in:
@@ -1541,6 +1541,10 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
checkProposedApiEnabled(extension, 'chatContextProvider');
|
||||
return extHostChatContext.registerChatContextProvider(selector ? checkSelector(selector) : undefined, `${extension.id}-${id}`, provider);
|
||||
},
|
||||
registerCustomAgentsProvider(provider: vscode.CustomAgentsProvider): vscode.Disposable {
|
||||
checkProposedApiEnabled(extension, 'chatParticipantPrivate');
|
||||
return extHostChatAgents2.registerCustomAgentsProvider(extension, provider);
|
||||
},
|
||||
};
|
||||
|
||||
// namespace: lm
|
||||
@@ -1942,7 +1946,8 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
McpStdioServerDefinition: extHostTypes.McpStdioServerDefinition,
|
||||
McpStdioServerDefinition2: extHostTypes.McpStdioServerDefinition,
|
||||
McpToolAvailability: extHostTypes.McpToolAvailability,
|
||||
SettingsSearchResultKind: extHostTypes.SettingsSearchResultKind
|
||||
SettingsSearchResultKind: extHostTypes.SettingsSearchResultKind,
|
||||
CustomAgentTarget: extHostTypes.CustomAgentTarget,
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user