toggle menu
Embabel Agent Documentation
JVM
switch theme
search in API
Embabel Agent Documentation
/
com.embabel.agent.api.common.workflow.loop
/
RepeatUntilAcceptableContext
/
lastAttemptOr
last
Attempt
Or
fun
lastAttemptOr
(
defaultValue
:
String
)
:
String
Convenience method to get result from last attempt or return default Easy to embed in prompts