Build an llmCaller function for any AgentOS-supported provider.
llmCaller
This uses the full provider resolution chain: resolveModelOption → resolveProvider → createProviderManager → getProvider
Works with all provider types:
The returned function has the signature (system: string, user: string) => Promise<string>.
(system: string, user: string) => Promise<string>
Provider, model, and optional credential overrides.
A caller function compatible with PlannerConfig.llmCaller.
PlannerConfig.llmCaller
Build an
llmCallerfunction for any AgentOS-supported provider.This uses the full provider resolution chain: resolveModelOption → resolveProvider → createProviderManager → getProvider
Works with all provider types:
The returned function has the signature
(system: string, user: string) => Promise<string>.