onPlanCreationCompleted

abstract suspend fun onPlanCreationCompleted(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentContext, state: Any, stateType: TypeToken?, plan: Any?, planType: TypeToken?, stepIndex: Int, updatedPlan: Any)(source)

Notifies all registered planner handlers that a plan creation has completed.

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 previous plan, or null if this is the first plan;

stepIndex

The index of the step in the plan;

updatedPlan

The newly built plan.