Expand description
Merging a model’s saved configuration into a request: keeping only parameter values the current schema still recognizes, and seeding the system prompt.
Functions§
- dropping_
vanished_ param_ values - A copy of
recordwith parameter values for vanished parameters removed. - merged
- Merge the record’s configuration into a request
payload. - normalized_
param_ values - The record’s parameter values, each run through its spec: a value is kept
only when its key still has a spec in the current schema AND the value
coerces/clamps to that spec (see
ParamSpec::normalized). Values for vanished parameters and wrong-typed / unnormalizable values are dropped, so nothing out-of-range or off-type can reach a runtime.