Member Junction
    Preparing search index...
    • True when the run exists and its persisted status says it is waiting on the user.

      Checked against the run's own Status rather than the error text: the status is what the server actually reported, and an awaiting run usually carries no error message at all — which is exactly how it ended up rendered as "failed — Unknown error".

      Parameters

      • result: {
            agentRun?: { ErrorMessage?: string; Message?: string; Status?: string };
            errorMessage?: string;
            requestAcknowledged?: boolean;
        }
        • OptionalagentRun?: { ErrorMessage?: string; Message?: string; Status?: string }
          • OptionalErrorMessage?: string
          • OptionalMessage?: string

            The agent's own last message. When the run is awaiting a human this is the question it is waiting on — not an error.

          • OptionalStatus?: string

            The persisted AIAgentRun status. Widened to string on purpose: this module is the arbiter for results arriving off the wire, where the value is whatever the server wrote, and a literal union here would reject a run carrying a status this build does not know about instead of letting the checks below decide.

        • OptionalerrorMessage?: string
        • OptionalrequestAcknowledged?: boolean

          True when the fire-and-forget mutation returned an ACK before the transport died. False when the request never left the browser (or the ACK never arrived). Undefined for callers that do not know.

      Returns boolean