onPlanCompletionEvaluationCompleted
expect open suspend override fun onPlanCompletionEvaluationCompleted(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentContext, state: Any, plan: Any, isCompleted: Boolean, stepIndex: Int)(source)
Notifies all registered planner handlers when evaluating whether a plan is completed.
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;
isCompleted
The result of the completion check.