> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For full documentation content, see https://docs.nvidia.com/nemo/relay/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Struct Plugin Input

> Input data provided to a plugin for translation.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi`.

<pre />

Input data provided to a plugin for translation.

All fields are borrowed references to avoid unnecessary cloning. The lifetime `'a` ties the input to the caller's data.

## Fields

### `original_request: &'a LlmRequest`

The original (pre-rewrite) request.

### `rewritten_request: &'a LlmRequest`

The rewritten request (may be identical to original in early phases).

### `prompt_ir: &'a PromptIR`

The Prompt IR decomposition of the request.

### `intent_bundle: &'a OptimizationIntentBundle`

The optimization intent bundle from the policy engine.

### `agent_identity: &'a AgentIdentity`

The agent identity for context.

## Trait Implementations

### `impl<'a> Debug for PluginInput<'a>`

<pre />

#### `fmt`

<pre />