Documentation
    Preparing search index...

    Interface LlmDeltaMessage

    Unsolicited provisional output routed to the requesting endpoint; carries requestId, not id.

    interface LlmDeltaMessage {
        block: LlmDeltaBlock;
        blockIndex: number;
        event: LlmDeltaEvent;
        name?: string;
        requestId: string;
        sequence: number;
        text?: string;
        toolCallId?: string;
        type: "llm.delta";
    }

    Hierarchy (View Summary)

    Index

    Properties

    Kind of content block.

    blockIndex: number

    Zero-based index of the block within the generation's content.

    Block lifecycle event.

    name?: string

    For a toolCall start only: tool name used by the terminal call.

    requestId: string

    The originating generation's request id.

    sequence: number

    Contiguous sequence starting at zero for this generation.

    text?: string

    For delta only: a text fragment, or a JSON argument fragment for toolCall.

    toolCallId?: string

    For a toolCall start only: id used by the terminal call.

    type: "llm.delta"

    Message type discriminant in "domain.action" format (e.g., "relay.subscribe", "storage.get")