Member Junction
    Preparing search index...

    Tracks how a malformed JSON response was repaired during prompt execution. Stored transiently on the prompt run entity and persisted into ValidationSummary JSON.

    interface JSONRepairInfo {
        method: "JSON5" | "AIRepair";
        originalError: string;
        rawOutputPrefix: string;
        repaired: true;
        repairPromptRunId?: string;
    }
    Index

    Properties

    method: "JSON5" | "AIRepair"

    Which repair strategy succeeded

    originalError: string

    The original JSON parse error message

    rawOutputPrefix: string

    First 200 characters of the raw LLM output (for diagnostics)

    repaired: true

    Whether the JSON was repaired

    repairPromptRunId?: string

    The prompt run ID of the repair prompt execution (AI repair only)