Skip to content

rulvar API reference


rulvar API reference / @rulvar/plan / clampStartTier

Function: clampStartTier()

ts
function clampStartTier(ladder, hint?): number;

Defined in: packages/plan/src/ladder.ts:63

Clamps the orchestrator's model_hint.startTier to the declared ladder: the hint is the ONLY model influence the orchestrator has, and it never names a model.

Parameters

ParameterType
ladderCanonicalLadderSpec
hint?number

Returns

number