Neutrome SDK reference
    Preparing search index...

    Namespace delta

    ToolCallError

    Thrown when a STREAM_TOOL_DELTA payload is present but malformed.

    RepackOptions

    Options accepted by delta.repack.

    ToolCall

    A partial tool call carried by one streaming chunk.

    decode

    Decodes a stream chunk from its protobuf wire form.

    decodeToolCall

    Decodes one tool call fragment.

    encode

    Encodes a stream chunk to its protobuf wire form.

    end

    Builds the chunk that closes a stream.

    extractContentText

    Concatenates the response text carried by streaming chunks.

    hasToolCall

    Reports whether a stream chunk carries tool call fragments.

    repack

    Rewrites a chunk stream into the chunk shape a provider style expects.

    start

    Builds the chunk that opens a stream.

    text

    Builds a chunk carrying visible response text.

    textResponse

    Builds a complete single-message stream.

    thinking

    Builds a chunk carrying model reasoning text.