Add new API proposal for chat onDidPerformUserAction event (#183140)

* Add new API proposal for chat onDidPerformUserAction event

* Enable API for tests that incidentally touch the getter
This commit is contained in:
Rob Lourens
2023-05-22 11:52:19 -07:00
committed by GitHub
parent d867c0a0f4
commit 05c0ca95ed
5 changed files with 74 additions and 62 deletions

View File

@@ -1286,6 +1286,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return extHostChat.sendInteractiveRequestToProvider(providerId, message);
},
get onDidPerformUserAction() {
checkProposedApiEnabled(extension, 'interactiveUserActions');
return extHostChat.onDidPerformUserAction;
}
};