Member Junction
    Preparing search index...

    Configuration data interface for the AI Test Harness Dialog. Provides all necessary options for initializing the dialog with appropriate agent/prompt data, dimensions, and initial variable configurations.

    interface AITestHarnessDialogData {
        agent?: MJAIAgentEntityExtended;
        agentId?: string;
        height?: string | number;
        initialDataContext?: Record<string, any>;
        initialTemplateData?: Record<string, any>;
        initialTemplateVariables?: Record<string, any>;
        mode?: "agent" | "prompt";
        prompt?: MJAIPromptEntityExtended;
        promptId?: string;
        promptRunId?: string;
        selectedConfigurationId?: string;
        selectedModelId?: string;
        selectedVendorId?: string;
        title?: string;
        width?: string | number;
    }
    Index

    Properties

    Pre-loaded AI agent entity (alternative to providing agentId)

    agentId?: string

    ID of the AI agent to load (alternative to providing agent entity)

    height?: string | number

    Dialog height in CSS units or viewport percentage

    initialDataContext?: Record<string, any>

    Initial data context variables for agent execution

    initialTemplateData?: Record<string, any>

    Initial template data variables for prompt rendering

    initialTemplateVariables?: Record<string, any>

    Initial template variables for prompt execution

    mode?: "agent" | "prompt"

    Mode of operation - 'agent' or 'prompt'

    Pre-loaded AI prompt entity (alternative to providing promptId)

    promptId?: string

    ID of the AI prompt to load (alternative to providing prompt entity)

    promptRunId?: string

    ID of an existing prompt run to preload data from

    selectedConfigurationId?: string

    Pre-selected AI configuration ID for prompt execution

    selectedModelId?: string

    Pre-selected AI model ID for prompt execution

    selectedVendorId?: string

    Pre-selected AI vendor ID for prompt execution

    title?: string

    Custom dialog title (defaults to agent/prompt name)

    width?: string | number

    Dialog width in CSS units or viewport percentage