mod passthrough#

module passthrough#

Passthrough plugin that applies no transformations.

Used as a baseline for A/B testing, as the default when no provider-specific plugin is configured, and for backends with no explicit cache control APIs.

PassthroughPlugin implements ProviderPlugin by cloning the rewritten request unchanged and generating a TranslationReport where every intent is marked TranslationStatus::Ignored with ReasonCode::NotRelevant.

Structs and Unions

struct PassthroughPlugin#

A no-op provider plugin that passes requests through unchanged.

Returns the rewritten_request as-is (cloned) and generates a TranslationReport where every intent is marked TranslationStatus::Ignored with ReasonCode::NotRelevant.

Usage

  • Default plugin when no provider-specific plugin is configured

  • Baseline for A/B testing (compare against optimized plugins)

  • Backends with no explicit cache control APIs

Traits implemented

impl ProviderPlugin for PassthroughPlugin#