A point-in-time view of the operational state the oracle ranks against. Assembled from explicit inputs — the embedder wires its own health, pricing, and budget sources; the oracle only ever sees this struct. Staleness affects optimality, never safety: enforcement happens where budgets are enforced, not here.
assemble/1 with no options is the degenerate snapshot: all lanes healthy,
config pricing, unlimited budget.
Summary
Functions
Assemble a snapshot from explicit inputs.
Types
@type rates() :: %{input: non_neg_integer(), output: non_neg_integer()}
Functions
Assemble a snapshot from explicit inputs.
:pricing— model →%{input:, output:}rate map; defaults toApplication.get_env(:mimir, :pricing, %{}).:health— lane →:ok | :degraded(e.g.Mimir.Health.all/0); default%{}.:parent_remaining— remaining caller budget in microdollars, or:unlimited.:rpm_headroom—:unlimitedor integer headroom.:snapshot_at— defaults toDateTime.utc_now().