Package com.embabel.agent.core.hitl
Interface AwaitDecider
-
- All Implemented Interfaces:
public interface AwaitDeciderFunctional interface for deciding whether to await before tool execution.
-
-
Method Summary
Modifier and Type Method Description abstract Awaitable<?, ?>evaluate(AwaitContext context)Evaluate whether awaiting is needed before tool execution. -
-
Method Detail
-
evaluate
abstract Awaitable<?, ?> evaluate(AwaitContext context)
Evaluate whether awaiting is needed before tool execution.
- Parameters:
context- The context containing input and process state- Returns:
An Awaitable to pause execution, or null to proceed normally
-
-
-
-