onPlanCompletionEvaluationStarting

expect open suspend override fun onPlanCompletionEvaluationStarting(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentContext, state: Any, stateType: TypeToken?, plan: Any, planType: TypeToken?, stepIndex: Int)(source)

Notifies all registered planner handlers when a plan-completion check is about to be 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.