Options for the ToT planning model (strong reasoning).
Optional executionOptions: BuildLlmCallerOptionsOptions for agent node execution (can be different).
Object with plannerCaller and executionCaller.
const { plannerCaller, executionCaller } = await buildSplitCallers(
{ provider: 'claude-code-cli', model: 'claude-opus-4-6' }, // Strong for planning
{ provider: 'openai', model: 'gpt-4o' }, // Fast for execution
);
const planner = new MissionPlanner({
llmCaller: executionCaller,
plannerLlmCaller: plannerCaller,
plannerModel: 'claude-opus-4-6',
executionModel: 'gpt-4o',
...
});
Build separate planner and execution callers with potentially different providers.