Member Junction
    Preparing search index...

    Base class for all Angular components in the MemberJunction system.

    Hierarchy (View Summary)

    Implements

    • OnInit
    • OnDestroy
    • AfterViewInit
    Index

    Constructors

    Properties

    actionDetailsExpanded: boolean = false
    actionMetrics: ActionMetrics = ...
    actionSuccessRateChart: ElementRef
    actionSuccessRateChartData: any
    agentRun: SimpleAgentRun | null = null
    agentRunId: string
    allActionLogs: SimpleActionLog[] = []
    allPromptRuns: MJAIPromptRunEntity[] = []
    allSteps: SimpleAgentRunStep[] = []
    costByVendorChart: ElementRef
    costByVendorChartData: any
    error: string | null = null
    executionTimeChart: ElementRef
    executionTimeChartData: any
    expandedCharts: { [key: string]: boolean } = ...
    isLoading: boolean = true
    modelDistributionChart: ElementRef
    modelDistributionChartData: any
    panelStates: {
        actions: boolean;
        models: boolean;
        prompts: boolean;
        summary: boolean;
        timeline: boolean;
    } = ...
    promptCostDistributionChart: ElementRef
    promptCountByNameChart: ElementRef
    promptDetailsExpanded: boolean = false
    promptMetrics: PromptMetrics = ...
    promptTimeDistributionChart: ElementRef
    promptTokenDistributionChart: ElementRef
    Provider: IMetadataProvider | null

    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.

    runTree: AgentRunTreeNode | null = null
    stepTypeChart: ElementRef
    stepTypeDistributionChartData: any
    subAgentRuns: SimpleAgentRun[] = []
    timelineMetrics: TimelineMetrics = ...
    tokenUsageChart: ElementRef
    tokenUsageChartData: any
    viewMode: "grid" | "expanded" = 'grid'
    "ɵdir": unknown
    "ɵfac": ɵɵFactoryDeclaration<BaseAngularComponent, never>

    Accessors

    • get ProviderToUse(): IMetadataProvider

      Returns either the default Metadata provider or the one specified in the Provider property, if it was specified

      Returns IMetadataProvider

    • get RunQueryToUse(): IRunQueryProvider

      Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified

      Returns IRunQueryProvider

    • set RunTree(value: AgentRunTreeNode | null): void

      The run's execution tree, loaded once by the form and shared with every tab.

      This is what makes the totals honest. Analytics derives cost from prompt runs reached through the run's own STEPS, which cannot see work the run dispatched: a task-graph's spend lives on Task rows and on prompt runs those tasks produced, so a workflow's cost was simply missing from every figure on this tab. Each tree node reports its OWN cost — never a rollup — so a total is an honest sum rather than a double-count.

      Parameters

      Returns void

    • get RunViewToUse(): IRunViewProvider

      Returns either the default RunView provider or the one specified in the Provider property, if it was specified

      Returns IRunViewProvider

    Methods