# `PtcRunner.LLM.PreparedModel`
[🔗](https://github.com/andreasronge/ptc_runner/blob/main/lib/ptc_runner/llm/prepared_model.ex#L1)

Immutable result of preparing a configured LLM selector.

The value seals the adapter, original selector, adapter-owned request target,
catalog status, requested requirements, and adapter attestation. Hosts pass it
to `PtcRunner.LLM.callback/2`. `PtcRunner.LLM.prepare/2` is the sole supported
constructor; copied or mutated structs fail `valid?/1`.

# `catalog_status`

```elixir
@type catalog_status() :: :cataloged | :uncataloged | :unavailable
```

# `t`

```elixir
@type t() :: %PtcRunner.LLM.PreparedModel{
  adapter: module(),
  attestation: PtcRunner.LLM.Requirements.t(),
  catalog_status: catalog_status(),
  construction: binary(),
  requirements: PtcRunner.LLM.Requirements.t(),
  selector: String.t(),
  target: term()
}
```

# `valid?`

```elixir
@spec valid?(term()) :: boolean()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
