Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/core / / isStepCount

Function: isStepCount()

ts
function isStepCount(n): StopCondition;

Defined in: packages/core/src/types/stop-condition.ts:27

Stop after n total steps (stepNumber >= n). The default condition for the agent runtime is isStepCount(50).

Parameters

ParameterType
nnumber

Returns

StopCondition

Stable