Functions

assertResultCeiling

Function: assertResultCeiling()

assertResultCeiling(toolName, ceiling): void

Defined in: src/core/tools.ts:173

Refuse a resultCeiling this library cannot honor, at definition time — naming the tool and the fix, never failing at the first oversized result of the first run. Exported beside assertValidToolName for consumers assembling Tool objects by hand.

Parameters

toolName

string

ceiling

ToolResultCeiling | undefined

Returns

void

On this page