koog-agents-optimization
Toggle table of contents
0.1.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
koog-agents-optimization
koog-agents-optimization
/
ai.koog.agents.optimization.common.abort
/
AbortPolicy
/
checkAndAbortIfExceeded
check
And
Abort
If
Exceeded
abstract
fun
checkAndAbortIfExceeded
(
cumulative
:
LLMConsumption
?
)
Inspect the running
cumulative
consumption and abort if this policy's condition is met.