onAiAssistantOpenChange
Home > @gooddata/sdk-pluggable-application-model > IHostUiMountOptions > onAiAssistantOpenChange
IHostUiMountOptions.onAiAssistantOpenChange property
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Reports the host-owned AI assistant chat open-state whenever it changes.
Signature:
onAiAssistantOpenChange?: (open: boolean) => void;
Remarks
The host UI owns the single chat instance on hosted routes; the host runtime forwards this open-state to the active pluggable application (via its mount handle) so app-side assistant controls stay aligned with what the user sees.