The loaded AI agent entity for testing
Event emitted when the dialog should be closed
Configuration data passed from the dialog service
The mode of operation - either 'agent' or 'prompt'
The loaded AI prompt entity for testing
If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.
Reference to the embedded test harness component
Display title for the dialog header
StaticɵdirStaticɵfacReturns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunReport provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
Closes the dialog by emitting the close event. This method is called by the close button in the header.
AfterViewInit lifecycle hook to set initial data after view is initialized
Initializes the dialog component by loading agent/prompt data and configuring the embedded test harness with initial variables and settings.
Dialog wrapper component for the AI Agent Test Harness. Provides a modal dialog interface with proper sizing, header, and close functionality. Automatically loads agent data and initializes the test harness with provided configuration.
Features:
Usage:
This component is typically opened through the
TestHarnessDialogServicerather than directly: