stepCountIs
stepCountIs(
stepCount):StopCondition<any,any>
Defined in: node_modules/.bun/ai@7.0.127+bca6845d7a0cc15a/node_modules/ai/dist/index.d.ts:1957
Creates a stop condition that returns true when the number of completed
steps equals stepCount.
Parameters
Section titled “Parameters”stepCount
Section titled “stepCount”number
The number of steps to allow before stopping.
Returns
Section titled “Returns”StopCondition<any, any>