Class AgentResponse

Assembly: redb.Route.Llm.dll

Final agent response.

public sealed class AgentResponse

Inheritance

Object→AgentResponse

Properties

Content

Last assistant content (text + any unanswered tool calls).

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

Iterations

Number of tool-loop iterations consumed.

public int Iterations { get; init; }

StopReason

Final stop reason of the last provider call.

public LlmStopReason StopReason { get; init; }

Text

Convenience accessor — first text block in , or empty.

public string Text { get; }

Usage

Aggregate token usage across all iterations.

public LlmUsage Usage { get; init; }