mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
Joh/tart-lamprey (#195554)
* some API todos * add `ChatAgent2#onDidReceiveFeedback` for helpful/unhelpful feedback kinds * add another proposal for chat additions * small tweaks
This commit is contained in:
@@ -1372,7 +1372,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
},
|
||||
createChatAgent(name: string, handler: vscode.ChatAgentHandler) {
|
||||
checkProposedApiEnabled(extension, 'chatAgents2');
|
||||
return extHostChatAgents2.createChatAgent(extension.identifier, name, handler);
|
||||
return extHostChatAgents2.createChatAgent(extension, name, handler);
|
||||
},
|
||||
registerAgent(name: string, agent: vscode.ChatAgent, metadata: vscode.ChatAgentMetadata) {
|
||||
checkProposedApiEnabled(extension, 'chatAgents');
|
||||
@@ -1412,6 +1412,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
// types
|
||||
Breakpoint: extHostTypes.Breakpoint,
|
||||
TerminalOutputAnchor: extHostTypes.TerminalOutputAnchor,
|
||||
ChatAgentResultFeedbackKind: extHostTypes.ChatAgentResultFeedbackKind,
|
||||
ChatMessage: extHostTypes.ChatMessage,
|
||||
ChatMessageRole: extHostTypes.ChatMessageRole,
|
||||
ChatVariableLevel: extHostTypes.ChatVariableLevel,
|
||||
|
||||
Reference in New Issue
Block a user