invoke

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.