Member Junction
    Preparing search index...

    Type Alias TaskDecisionRunResult

    The outcome of one Decision node's call.

    type TaskDecisionRunResult = {
        Answers?: Record<string, TaskGraphDecisionAnswer>;
        ErrorMessage?: string;
        PromptRunID?: string;
        Success: boolean;
    }
    Index

    Properties

    Answers?: Record<string, TaskGraphDecisionAnswer>

    The answers by question key, in the shape a condition reads them. Absent on failure: a failed call has no answers, and a partial set would let a condition act on half a decision.

    ErrorMessage?: string
    PromptRunID?: string

    The MJ: AI Prompt Runs row the call wrote, including a failed one. It is how the decision's cost reaches the graph's rollup.

    Success: boolean