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

    Interface PrepareRequestSpec

    interface PrepareRequestSpec {
        assertRequest?: (request: EncodableRequest) => void;
        encoderId: string;
        encoders?: RequestEncoderRegistry;
        encoderVersion: number;
        model: string;
        params: Record<string, unknown>;
        providerId: string;
        systemPromptEventId: string;
        tools: readonly ToolSchema[] | null;
    }
    Index
    assertRequest?: (request: EncodableRequest) => void

    Send-time admission only; never changes historical byte derivation.

    encoderId: string

    Which encoder turns this request into bytes. Recorded in the header.

    encoderVersion: number
    model: string
    params: Record<string, unknown>

    Provider parameters (max_tokens, temperature, …), verbatim.

    providerId: string
    systemPromptEventId: string

    The system/prompt event whose payload is this request's system text.

    tools: readonly ToolSchema[] | null

    Tools to offer the model, or null. Committed before the header is written.