Interface IShadowRunner

Assembly: redb.Route.Llm.dll

Optional shadow runner — when enabled, every primary provider call is also
executed against an alternate factory, results compared and the divergence
recorded via the for offline review.
The user-visible response always comes from the primary call; the shadow run
never affects routing.

public interface IShadowRunner

Properties

Enabled

True when a shadow run should be executed alongside the primary.

bool Enabled { get; }

Methods

RunAsync(ILlmProvider, LlmRequest, LlmResponse, CancellationToken)

Executes the shadow call. Implementations should be fire-and-forget from

Task RunAsync(ILlmProvider primary, LlmRequest request, LlmResponse primaryResponse, CancellationToken ct = default)