onPlanCreationStarting
expect open suspend override fun onPlanCreationStarting(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentContext, state: Any, stateType: TypeToken?, plan: Any?, planType: TypeToken?, stepIndex: Int)(source)
Notifies all registered planner handlers that a plan creation has started.
Parameters
eventId
The unique identifier for the event group;
executionInfo
The execution information for the plan creation event;
context
The context of the plan creation;
state
The current state;
plan
The current plan, or null if this is the first plan;
stepIndex
The index of the step in the plan.