Skip to content

Interface: LaneMaxCostConfig ​

Defined in: ast/lane-node.ts:50

Per-run USD budget ceiling and human approval target for a LaneNode.

Suspends an active run when cumulative model cost reaches limitUsd and pages approver for a BudgetApproval decision to either raise the limit or terminate the run.

Properties ​

PropertyModifierTypeDescriptionDefined in
approverreadonlyScopedHumanTargetNode<{ approved: boolean; increaseLimitToUsd?: number; }>Scoped bidirectional human target validating responses against BudgetApprovalSchema.ast/lane-node.ts:54
limitUsdreadonlynumberInitial maximum cumulative USD cost allowed per run before requesting human budget approval.ast/lane-node.ts:52

Released under the MIT License.