Closed, bounded model-contract requirements sealed into a prepared target.
Kernel constructs this map after manifest selection and before credentials.
PtcRunner.LLM.prepare/2 validates both the requested map and the adapter
attestation, then requires exact canonical equality. The output-limit binding
records whether the effective application limit, installation parameter, or
both selected the effective max_tokens; adapters carry that fact into
authenticated truncation metadata.
Summary
Functions
Returns a requirement map for direct embedders that do not request reporting guarantees or reservation authority.
Types
@type exact_options() :: %{ :max_tokens => pos_integer(), optional(:temperature) => float(), optional(:seed) => non_neg_integer(), optional(:top_p) => float(), optional(:presence_penalty) => float(), optional(:frequency_penalty) => float(), optional(:reasoning_effort) => :none | :minimal | :low | :medium | :high }
@type output_limit_binding() :: :application_limit | :installation_param | :configured
@type reservation() :: %{total_tokens?: boolean(), cost_tariff: cost_tariff() | nil}
@type t() :: %{ exact_options: exact_options(), output_limit_bindings: [output_limit_binding(), ...], structured_output_mode: :json_schema | :json_object | :unsupported, usage_guarantees: usage_guarantees(), reservation: reservation() }
Functions
@spec interim(exact_options()) :: t()
Returns a requirement map for direct embedders that do not request reporting guarantees or reservation authority.
@spec interim(exact_options(), :json_schema | :json_object | :unsupported) :: t()
@spec live( map(), pos_integer(), :json_schema | :json_object | :unsupported, usage_guarantees(), reservation() ) :: {:ok, t()} | :error
@spec probe(map(), usage_guarantees()) :: {:ok, t()} | :error
@spec probe(map(), usage_guarantees(), reservation()) :: {:ok, t()} | :error