Class LlmResponse

Assembly: redb.Route.Llm.dll

Single completion response from a provider.

public sealed class LlmResponse

Inheritance

Object→LlmResponse

Properties

Content

Content blocks produced by the assistant in this turn.

public required IReadOnlyList<LlmContentBlock> Content { get; init; }

ProviderResponseId

Provider-issued response identifier (OpenAI / xAI / Together: top-level

public string? ProviderResponseId { get; init; }

ProviderSystemFingerprint

Opaque backend-configuration fingerprint surfaced by some providers

public string? ProviderSystemFingerprint { get; init; }

RawStopReason

Provider-native raw stop reason for diagnostics.

public string? RawStopReason { get; init; }

StopReason

Reason the provider stopped generating.

public required LlmStopReason StopReason { get; init; }

Usage

Token usage for this turn.

public LlmUsage Usage { get; init; }