Class NoopAgentObserver

Assembly: redb.Route.Llm.dll

Default observer — discards all events.

public sealed class NoopAgentObserver : IAgentObserver

Inheritance

Object→NoopAgentObserver

Implements

Methods

OnIterationCompletedAsync(AgentIterationContext, CancellationToken)

Called after each provider call returns, before tool dispatch.

public Task OnIterationCompletedAsync(AgentIterationContext context, CancellationToken ct = default)

OnRunCompletedAsync(AgentRunCompletedContext, CancellationToken)

Called once when an agent run ends (whether normally or via cancellation/error).

public Task OnRunCompletedAsync(AgentRunCompletedContext context, CancellationToken ct = default)

OnRunStartedAsync(AgentRunContext, CancellationToken)

Called once when an agent run begins.

public Task OnRunStartedAsync(AgentRunContext context, CancellationToken ct = default)

OnToolInvokedAsync(AgentToolInvocationContext, CancellationToken)

Called for each tool invocation, after it returns or throws.

public Task OnToolInvokedAsync(AgentToolInvocationContext context, CancellationToken ct = default)