invoke
operator fun <State : Any> invoke(name: String, planner: AIAgentPlanner<State, *>): AIAgentPlannerStrategy<State, State, State>(source)
Creates an instance of AIAgentPlannerStrategy with the specified name and planner.
Return
A new AIAgentPlannerStrategy instance where the input, output, and state types are the same.
Parameters
name
The name of the planner strategy to be created.
planner
The planner instance that defines the specific planning logic.