Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Class StreamRecorder

    Index
    • Settle a stream that reached its terminal finish chunk.

      A terminal finish can still be a FAILURE — an adapter that decoded an in-band provider error emits finish with an error reason — and that settles as request/failure, not as a response. The alternative would be a request/response row whose finish reason says the call failed, which two different queries would then disagree about.

      Parameters

      • httpStatus: number

      Returns SettledStream

    • Settle a stream that ended without a terminal finish — a transport drop, a cancellation, a decode that threw.

      Parameters

      • input: {
            cause: string;
            failure: LlmFailure;
            httpStatus: number | null;
            kind: "error" | "aborted";
        }

      Returns SettledStream