onPlanCompletionEvaluationCompleted
expect open suspend override fun onPlanCompletionEvaluationCompleted(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentContext, state: Any, stateType: TypeToken?, plan: Any, planType: TypeToken?, stepIndex: Int, isCompleted: Boolean)(source)
Notifies all registered planner handlers when a plan-completion check has been evaluated.
Parameters
eventId
The unique identifier for the event group;
executionInfo
The execution information for the evaluation event;
context
The context of the plan execution;
state
The current state;
plan
The plan being evaluated for completion;
stepIndex
The index of the step in the plan;
isCompleted
The result of the completion check.