LLM model to use for orchestration (from the AI library)
OptionalsearchDefault search provider to use for search-dependent steps
OptionaltoolsMap of tool names to step functions that can be used by the agent
OptionalcustomCustom prompt for the orchestration agent
OptionalmaxMaximum number of iterations
OptionalexitOptional function that determines when to exit orchestration
OptionalincludeWhether to include the orchestration results in the final output
OptionalcontinueWhether to continue if a tool execution fails
OptionaltoolCustom tool selection function (if provided, uses this instead of LLM)
OptionalretryRetry configuration
OptionalmaxRetries?: numberMaximum number of retries
OptionalbaseDelay?: numberBase delay between retries in ms
Options for the orchestration step