AI SDK Kotlin
Toggle table of contents
0.3.0-beta01
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk
/
StopCondition
Stop
Condition
fun
interface
StopCondition
(
source
)
Since
0.3.0-beta01
Members
Functions
should
Stop
Link copied to clipboard
abstract
suspend
fun
shouldStop
(
state
:
LoopState
)
:
Boolean
True if the loop should stop after the just-completed step.