Class AgentRunCompletedContext
Final state of an agent run.
public sealed class AgentRunCompletedContext
Inheritance
Properties
Cancelled
True when the run was cancelled (via CancellationToken or budget stop).
public bool Cancelled { get; init; }
StopReason
Final stop reason from the last iteration.
public required LlmStopReason StopReason { get; init; }